Module consts

Source
Expand description

Defines mathematical expressions commonly used when computing distribution values as constants

Constantsยง

ACC
Targeted accuracy instantiated over f64
EULER_MASCHERONI
Constant value for Euler-Masheroni constant lim(n -> inf) { sum(k=1 -> n) { 1/k - ln(n) } }
LN_2_SQRT_E_OVER_PI
Constant value for ln(2 * sqrt(e / pi))
LN_PI
Constant value for ln(pi)
LN_SQRT_2PI
Constant value for ln(sqrt(2 * pi))
LN_SQRT_2PIE
Constant value for ln(sqrt(2 * pi * e))
SQRT_2PI
Constant value for sqrt(2 * pi)
TWO_SQRT_E_OVER_PI
Constant value for 2 * sqrt(e / pi)