bpp-core3
3.0.0
|
this static class contains several useful constant values. More...
#include <Bpp/Numeric/NumConstants.h>
Static Public Member Functions | |
static double | MEGA () |
static double | KILO () |
static double | DECI () |
static double | CENTI () |
static double | MILLI () |
static double | MICRO () |
static double | NANO () |
static double | PICO () |
static double | SMALL () |
static double | TINY () |
static double | VERY_TINY () |
static double | VERY_BIG () |
static double | PI () |
Golden ratio. | |
The golden ratio, is equal to . We also define and . | |
static double | GOLDEN_RATIO_PHI () |
static double | GOLDEN_RATIO_R () |
static double | GOLDEN_RATIO_C () |
Define those constants in case they would not be available in stl/limits. | |
static double | INF () |
static double | PINF () |
static double | MINF () |
static double | NaN () |
this static class contains several useful constant values.
This classe uses function in order to avoid the infamous "static initialization order fiasco". C++0x solves this...
Definition at line 20 of file NumConstants.h.
|
inlinestatic |
Definition at line 39 of file NumConstants.h.
|
inlinestatic |
Definition at line 38 of file NumConstants.h.
|
inlinestatic |
Definition at line 32 of file NumConstants.h.
References GOLDEN_RATIO_R().
Referenced by bpp::GoldenSectionSearch::doInit(), bpp::GoldenSectionSearch::doStep(), and bpp::BrentOneDimension::doStep().
|
inlinestatic |
Definition at line 30 of file NumConstants.h.
Referenced by bpp::OneDimensionOptimizationTools::bracketMinimum(), and GOLDEN_RATIO_R().
|
inlinestatic |
Definition at line 31 of file NumConstants.h.
References GOLDEN_RATIO_PHI().
Referenced by bpp::GoldenSectionSearch::doStep(), and GOLDEN_RATIO_C().
|
inlinestatic |
Definition at line 55 of file NumConstants.h.
|
inlinestatic |
Definition at line 37 of file NumConstants.h.
|
inlinestatic |
Definition at line 36 of file NumConstants.h.
|
inlinestatic |
Definition at line 41 of file NumConstants.h.
|
inlinestatic |
Definition at line 40 of file NumConstants.h.
|
inlinestatic |
Definition at line 57 of file NumConstants.h.
Referenced by bpp::IntervalConstraint::finiteLowerBound(), and bpp::IntervalConstraint::readDescription().
|
inlinestatic |
Definition at line 58 of file NumConstants.h.
|
inlinestatic |
Definition at line 42 of file NumConstants.h.
|
inlinestatic |
Definition at line 61 of file NumConstants.h.
Referenced by bpp::IntervalTransformedParameter::getFirstOrderDerivative(), bpp::IntervalTransformedParameter::getOriginalValue(), bpp::IntervalTransformedParameter::getSecondOrderDerivative(), bpp::AdaptiveKernelDensityEstimation::kernel_(), and bpp::IntervalTransformedParameter::setOriginalValue().
|
inlinestatic |
Definition at line 43 of file NumConstants.h.
|
inlinestatic |
Definition at line 56 of file NumConstants.h.
Referenced by bpp::IntervalConstraint::finiteUpperBound(), and bpp::IntervalConstraint::readDescription().
|
inlinestatic |
Definition at line 45 of file NumConstants.h.
Referenced by bpp::Simplex::setFrequencies(), bpp::Simplex::Simplex(), and bpp::LUDecomposition< Real >::solve().
|
inlinestatic |
Definition at line 46 of file NumConstants.h.
Referenced by bpp::AbstractDiscreteDistribution::discretizeEqualProportions(), bpp::BfgsMultiDimensions::doInit(), bpp::Simplex::fireParameterChanged(), bpp::NumCalcApplicationTools::getVector(), bpp::ReparametrizationFunctionWrapper::init_(), bpp::BfgsMultiDimensions::setDirection(), and bpp::AutoParameter::setValue().
|
inlinestatic |
Definition at line 48 of file NumConstants.h.
Referenced by bpp::BfgsMultiDimensions::doInit(), bpp::DiscreteDistributionInterface::getLowerBound(), bpp::DiscreteDistributionInterface::getUpperBound(), bpp::RandomTools::incompleteBeta(), bpp::RandomTools::incompletebetaps(), bpp::ConstantDistribution::qProb(), bpp::SimpleDiscreteDistribution::qProb(), bpp::TwoPointsNumericalDerivative::updateDerivatives(), bpp::ThreePointsNumericalDerivative::updateDerivatives(), and bpp::MixtureOfDiscreteDistributions::updateDistribution().
|
inlinestatic |
Definition at line 47 of file NumConstants.h.
Referenced by bpp::OneDimensionOptimizationTools::bracketMinimum(), bpp::DirichletDiscreteDistribution::getValueCategory(), bpp::RandomTools::incompleteBeta(), bpp::RandomTools::incompletebetafe(), bpp::RandomTools::incompletebetafe2(), and bpp::RandomTools::incompletebetaps().