![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <boost/math/constants/constants.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| stan::math | |
| Matrices and templated mathematical functions. | |
Functions | |
| double | stan::math::pi () |
| Return the value of pi. More... | |
| double | stan::math::e () |
| Return the base of the natural logarithm. More... | |
| double | stan::math::sqrt2 () |
| Return the square root of two. More... | |
| double | stan::math::log10 () |
| Return natural logarithm of ten. More... | |
| double | stan::math::positive_infinity () |
| Return positive infinity. More... | |
| double | stan::math::negative_infinity () |
| Return negative infinity. More... | |
| double | stan::math::not_a_number () |
| Return (quiet) not-a-number. More... | |
| double | stan::math::machine_precision () |
| Returns the difference between 1.0 and the next value representable. More... | |
Variables | |
| const double | stan::math::E = boost::math::constants::e<double>() |
The base of the natural logarithm, . More... | |
| const double | stan::math::SQRT_2 = std::sqrt(2.0) |
The value of the square root of 2, . More... | |
| const double | stan::math::INV_SQRT_2 = 1.0 / SQRT_2 |
The value of 1 over the square root of 2, . More... | |
| const double | stan::math::LOG_2 = std::log(2.0) |
The natural logarithm of 2, . More... | |
| const double | stan::math::LOG_10 = std::log(10.0) |
The natural logarithm of 10, . More... | |
| const double | stan::math::INFTY = std::numeric_limits<double>::infinity() |
| Positive infinity. More... | |
| const double | stan::math::NEGATIVE_INFTY = - std::numeric_limits<double>::infinity() |
| Negative infinity. More... | |
| const double | stan::math::NOT_A_NUMBER = std::numeric_limits<double>::quiet_NaN() |
| (Quiet) not-a-number value. More... | |
| const double | stan::math::EPSILON = std::numeric_limits<double>::epsilon() |
| Smallest positive value. More... | |
| const double | stan::math::NEGATIVE_EPSILON = - std::numeric_limits<double>::epsilon() |
| Largest negative value (i.e., smallest absolute value). More... | |
| const double | stan::math::LOG_PI_OVER_FOUR = std::log(boost::math::constants::pi<double>()) / 4.0 |
| const double | stan::math::TWO_OVER_SQRT_PI = 2.0 / std::sqrt(boost::math::constants::pi<double>()) |
| const double | stan::math::NEG_TWO_OVER_SQRT_PI = -TWO_OVER_SQRT_PI |
| const double | stan::math::INV_SQRT_TWO_PI = 1.0 / std::sqrt(2.0 * boost::math::constants::pi<double>()) |