bpp-core
2.2.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, | |
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 54 of file NumConstants.h.
|
inlinestatic |
Definition at line 74 of file NumConstants.h.
|
inlinestatic |
Definition at line 73 of file NumConstants.h.
|
inlinestatic |
Definition at line 67 of file NumConstants.h.
References GOLDEN_RATIO_R().
Referenced by bpp::GoldenSectionSearch::doInit(), bpp::GoldenSectionSearch::doStep(), and bpp::BrentOneDimension::doStep().
|
inlinestatic |
Definition at line 65 of file NumConstants.h.
Referenced by bpp::OneDimensionOptimizationTools::bracketMinimum(), and GOLDEN_RATIO_R().
|
inlinestatic |
Definition at line 66 of file NumConstants.h.
References GOLDEN_RATIO_PHI().
Referenced by bpp::GoldenSectionSearch::doStep(), and GOLDEN_RATIO_C().
|
inlinestatic |
Definition at line 90 of file NumConstants.h.
|
inlinestatic |
Definition at line 72 of file NumConstants.h.
|
inlinestatic |
Definition at line 71 of file NumConstants.h.
|
inlinestatic |
Definition at line 76 of file NumConstants.h.
|
inlinestatic |
Definition at line 75 of file NumConstants.h.
|
inlinestatic |
Definition at line 92 of file NumConstants.h.
Referenced by bpp::IntervalConstraint::finiteLowerBound(), and bpp::IntervalConstraint::readDescription().
|
inlinestatic |
Definition at line 93 of file NumConstants.h.
|
inlinestatic |
Definition at line 77 of file NumConstants.h.
|
inlinestatic |
Definition at line 96 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 78 of file NumConstants.h.
|
inlinestatic |
Definition at line 91 of file NumConstants.h.
Referenced by bpp::IntervalConstraint::finiteUpperBound(), and bpp::IntervalConstraint::readDescription().
|
inlinestatic |
Definition at line 80 of file NumConstants.h.
Referenced by bpp::Simplex::setFrequencies(), bpp::Simplex::Simplex(), and bpp::LUDecomposition< Real >::solve().
|
inlinestatic |
Definition at line 81 of file NumConstants.h.
Referenced by bpp::AbstractDiscreteDistribution::discretize(), bpp::BfgsMultiDimensions::doInit(), bpp::NumCalcApplicationTools::getVector(), bpp::ReparametrizationFunctionWrapper::init_(), bpp::BfgsMultiDimensions::setDirection(), and bpp::AutoParameter::setValue().
|
inlinestatic |
Definition at line 83 of file NumConstants.h.
Referenced by bpp::BfgsMultiDimensions::doInit(), bpp::DiscreteDistribution::getLowerBound(), bpp::DiscreteDistribution::getUpperBound(), bpp::RandomTools::incompleteBeta(), bpp::RandomTools::incompletebetaps(), bpp::ConstantDistribution::qProb(), bpp::SimpleDiscreteDistribution::qProb(), bpp::ThreePointsNumericalDerivative::updateDerivatives(), and bpp::MixtureOfDiscreteDistributions::updateDistribution().
|
inlinestatic |
Definition at line 82 of file NumConstants.h.
Referenced by bpp::OneDimensionOptimizationTools::bracketMinimum(), bpp::DirichletDiscreteDistribution::getValueCategory(), bpp::RandomTools::incompleteBeta(), bpp::RandomTools::incompletebetafe(), bpp::RandomTools::incompletebetafe2(), bpp::RandomTools::incompletebetaps(), and bpp::RandomTools::qBeta().