|
STK++ 1.0
|
This is the namespace containing the usual mathematical constants. More...
Functions | |
| Real | pi () |
| compute pi | |
| Real | pi_2 () |
Compute using pi() | |
| Real | euler () |
| Compute the Euler constant. | |
Variables | |
| static const Real | _E_ = 2.718281828459045235360287471353 |
| e | |
| static const Real | _PI_ = 3.141592653589793238462643383279502884197169399375 |
| pi | |
| static const Real | _EULER_ = 0.57721566490153286060651209008240243104215933594 |
| gamma | |
| static const Real | _2PI_ = 6.283185307179586476925286766559 |
| 2*pi | |
| static const Real | _PI_2_ = 1.570796326794896619231321691640 |
| pi/2 | |
| static const Real | _PI_4_ = 0.785398163397448309615660845820 |
| pi/4 | |
| static const Real | _1_PI = 0.318309886183790671537767526745 |
| 1/pi | |
| static const Real | _2_PI_ = 0.636619772367581343075535053490 |
| 2/pi | |
| static const Real | _LOG2_ = 0.301029995663981195213738894724 |
| log10(2) | |
| static const Real | _LOGE_ = 0.434294481903251827651128918917 |
| log10(e) | |
| static const Real | _LN2_ = 0.693147180559945309417232121458 |
| ln(2) | |
| static const Real | _LN10_ = 2.302585092994045684017991454684 |
| ln(10) | |
| static const Real | _SQRT2_ = 1.414213562373095048801688724210 |
| sqrt(2) | |
| static const Real | _SQRT3_ = 1.732050807568877293527446341506 |
| sqrt(3) | |
| static const Real | _SQRT32_ = 5.656854249492380195206754896838 |
| sqrt(32) | |
| static const Real | _1_SQRT2_ = 0.707106781186547524400844362105 |
| 1/sqrt(2) | |
| static const Real | _SQRTPI_ = 1.772453850905516027298167483341 |
| sqrt(pi) | |
| static const Real | _SQRT2_PI_ = 0.797884560802865355879892119869 |
| sqrt(2/pi) | |
| static const Real | _SQRT2PI_ = 2.506628274631000502415765284811045253007 |
| sqrt(2pi) | |
| static const Real | _1_SQRTPI_ = 0.564189583547756286948079451561 |
| 1/sqrt(pi) | |
| static const Real | _2_SQRTPI_ = 1.128379167095512573896158903122 |
| 2/sqrt(pi) | |
| static const Real | _1_SQRT2PI_ = 0.398942280401432677939946059934 |
| 1/sqrt(2pi) | |
| static const Real | _LNSQRTPI_ = 0.572364942924700087071713675677 |
| ln(sqrt(pi)) | |
| static const Real | _LNSQRT2PI_ = 0.918938533204672741780329736406 |
| ln(sqrt(2*pi)) | |
| static const Real | _LNSQRTPI_2_ = 0.225791352644727432363097614947 |
| ln(sqrt(pi/2)) | |
This is the namespace containing the usual mathematical constants.
const Real STK::Const::_E_ = 2.718281828459045235360287471353 [static] |
e
Definition at line 50 of file STK_Const_Math.h.
const Real STK::Const::_PI_ = 3.141592653589793238462643383279502884197169399375 [static] |
pi
Definition at line 52 of file STK_Const_Math.h.
Referenced by STK::Law::Cauchy::cdf(), STK::Funct::gamma(), STK::Funct::gammaLn(), STK::Law::Cauchy::icdf(), STK::Law::Cauchy::lpdf(), STK::Law::Cauchy::pdf(), and STK::Law::Cauchy::rand().
const Real STK::Const::_EULER_ = 0.57721566490153286060651209008240243104215933594 [static] |
gamma
Definition at line 54 of file STK_Const_Math.h.
const Real STK::Const::_2PI_ = 6.283185307179586476925286766559 [static] |
const Real STK::Const::_PI_2_ = 1.570796326794896619231321691640 [static] |
pi/2
Definition at line 58 of file STK_Const_Math.h.
const Real STK::Const::_PI_4_ = 0.785398163397448309615660845820 [static] |
pi/4
Definition at line 60 of file STK_Const_Math.h.
const Real STK::Const::_1_PI = 0.318309886183790671537767526745 [static] |
1/pi
Definition at line 62 of file STK_Const_Math.h.
const Real STK::Const::_2_PI_ = 0.636619772367581343075535053490 [static] |
2/pi
Definition at line 64 of file STK_Const_Math.h.
const Real STK::Const::_LOG2_ = 0.301029995663981195213738894724 [static] |
log10(2)
Definition at line 66 of file STK_Const_Math.h.
const Real STK::Const::_LOGE_ = 0.434294481903251827651128918917 [static] |
log10(e)
Definition at line 68 of file STK_Const_Math.h.
const Real STK::Const::_LN2_ = 0.693147180559945309417232121458 [static] |
ln(2)
Definition at line 70 of file STK_Const_Math.h.
Referenced by euler(), STK::Funct::expm1(), and STK::sumAlternateSerie().
const Real STK::Const::_LN10_ = 2.302585092994045684017991454684 [static] |
ln(10)
Definition at line 72 of file STK_Const_Math.h.
const Real STK::Const::_SQRT2_ = 1.414213562373095048801688724210 [static] |
sqrt(2)
Definition at line 74 of file STK_Const_Math.h.
Referenced by STK::Law::Normal::cdf(), and STK::sumAlternateSerie().
const Real STK::Const::_SQRT3_ = 1.732050807568877293527446341506 [static] |
sqrt(3)
Definition at line 76 of file STK_Const_Math.h.
const Real STK::Const::_SQRT32_ = 5.656854249492380195206754896838 [static] |
sqrt(32)
Definition at line 78 of file STK_Const_Math.h.
const Real STK::Const::_1_SQRT2_ = 0.707106781186547524400844362105 [static] |
1/sqrt(2)
Definition at line 80 of file STK_Const_Math.h.
Referenced by STK::Funct::normal_cdf_raw().
const Real STK::Const::_SQRTPI_ = 1.772453850905516027298167483341 [static] |
sqrt(pi)
Definition at line 82 of file STK_Const_Math.h.
const Real STK::Const::_SQRT2_PI_ = 0.797884560802865355879892119869 [static] |
sqrt(2/pi)
Definition at line 84 of file STK_Const_Math.h.
const Real STK::Const::_SQRT2PI_ = 2.506628274631000502415765284811045253007 [static] |
sqrt(2pi)
Definition at line 86 of file STK_Const_Math.h.
Referenced by STK::Funct::gammaStirling(), STK::Law::Normal::icdf(), and STK::Funct::poisson_pdf_raw().
const Real STK::Const::_1_SQRTPI_ = 0.564189583547756286948079451561 [static] |
const Real STK::Const::_2_SQRTPI_ = 1.128379167095512573896158903122 [static] |
2/sqrt(pi)
Definition at line 90 of file STK_Const_Math.h.
const Real STK::Const::_1_SQRT2PI_ = 0.398942280401432677939946059934 [static] |
1/sqrt(2pi)
Definition at line 92 of file STK_Const_Math.h.
Referenced by STK::Funct::apois(), STK::Funct::betaRatio_cf(), STK::Funct::betaRatio_se(), STK::Funct::betaRatio_sr(), STK::Funct::betaRatio_up(), STK::Funct::normal_pdf_raw(), and STK::Law::Normal::pdf().
const Real STK::Const::_LNSQRTPI_ = 0.572364942924700087071713675677 [static] |
ln(sqrt(pi))
Definition at line 94 of file STK_Const_Math.h.
const Real STK::Const::_LNSQRT2PI_ = 0.918938533204672741780329736406 [static] |
ln(sqrt(2*pi))
Definition at line 96 of file STK_Const_Math.h.
Referenced by STK::GaussianAAModel::computeLogLikelihood(), STK::Funct::gammaLnStirling(), STK::Funct::gammaLnStirlingError(), STK::Law::MultivariateNormal< Container1D >::logLikelihood(), STK::Law::Normal::lpdf(), and STK::Law::MultivariateNormal< Container1D >::lpdf().
const Real STK::Const::_LNSQRTPI_2_ = 0.225791352644727432363097614947 [static] |