STK++ 0.9.13
|
These classes extend the numeric_limits
C++ struct.
More...
Classes | |
struct | STK::Arithmetic< Type > |
Arithmetic properties of STK fundamental types. More... | |
struct | STK::Arithmetic< Binary > |
Specialization for Binary. More... | |
struct | STK::Arithmetic< Char > |
Specialization of the struct Arithmetic for Char. More... | |
struct | STK::Arithmetic< Integer > |
Specialization for Integer (long). More... | |
struct | STK::Arithmetic< TRange< Size_ > > |
Partial Specialization for TRange. More... | |
struct | STK::Arithmetic< Real > |
Specialization for Real. More... | |
struct | STK::Arithmetic< Sign > |
Specialization for Sign. More... | |
struct | STK::Arithmetic< String > |
Specialization for String. More... | |
Functions | |
template<class Type > | |
bool | STK::isNA (Type const &x) |
utility method allowing to know if a value is a NA (Not Available) value | |
template<class Type > | |
bool | STK::isFinite (Type const &x) |
utility method allowing to know if a value is a finite value | |
template<class Type > | |
bool | STK::isInfinite (Type const &x) |
utility method allowing to know if a value is an infinite value | |
These classes extend the numeric_limits
C++ struct.
They allow to handle in a transparent way a possible Not Available (NA) value in the data.
utility method allowing to know if a value is a finite value
Definition at line 219 of file STK_Arithmetic.h.
References STK::Arithmetic< Type >::isFinite().
Referenced by STK::Law::Beta::Beta(), STK::IMixtureComposer::eStep(), STK::FullStrategy::initStep(), STK::ExprBase< Derived >::nbAvailableValues(), STK::ExprBase< Derived >::wmean(), STK::ExprBase< Derived >::wvariance(), and STK::ExprBase< Derived >::wvarianceSafe().
utility method allowing to know if a value is an infinite value
Definition at line 224 of file STK_Arithmetic.h.
References STK::Arithmetic< Type >::isInfinite().
utility method allowing to know if a value is a NA (Not Available) value
Definition at line 214 of file STK_Arithmetic.h.
References STK::Arithmetic< Type >::isNA().
Referenced by STK::Funct::betaRatio(), STK::Law::Beta::cdf(), STK::Law::Cauchy::cdf(), STK::Law::Exponential::cdf(), STK::Law::Gamma::cdf(), STK::Law::Beta::cdf(), STK::Law::Cauchy::cdf(), STK::Law::Exponential::cdf(), STK::Law::Gamma::cdf(), STK::Funct::gammaRatio(), STK::Law::Cauchy::icdf(), STK::Law::Exponential::icdf(), STK::Law::Cauchy::icdf(), STK::Law::Exponential::icdf(), STK::Stat::Univariate< TContainer1D, Real >::initializeVariable(), STK::Stat::Univariate< TContainer1D, Real >::initializeVariableAndWeights(), STK::Law::Beta::lpdf(), STK::Law::Cauchy::lpdf(), STK::Law::Exponential::lpdf(), STK::Law::Gamma::lpdf(), STK::Law::Beta::lpdf(), STK::Law::Cauchy::lpdf(), STK::Law::Exponential::lpdf(), STK::Law::Gamma::lpdf(), STK::GammaBase< Derived >::moments(), STK::operator<<(), STK::Law::Cauchy::pdf(), STK::Law::Exponential::pdf(), STK::Law::Gamma::pdf(), STK::Law::Cauchy::pdf(), STK::Law::Exponential::pdf(), STK::Law::Gamma::pdf(), STK::rangeToString(), STK::realToString(), STK::Gamma_a_bjk< Array >::run(), STK::Gamma_a_bk< Array >::run(), STK::Gamma_aj_bjk< Array >::run(), STK::Gamma_ajk_bjk< Array >::run(), STK::Gamma_ak_bjk< Array >::run(), STK::Gamma_ak_bk< Array >::run(), and STK::MixtureSemiLearner::setLabels().