Class Constants
- java.lang.Object
-
- org.apache.commons.statistics.distribution.Constants
-
final class Constants extends java.lang.ObjectConstants for distribution calculations.Constants should evaluate to the closest IEEE
double. Expressions may have been computed using an arbitrary precision math library or obtained from existing online resources. Some expressions will not be the closestdoubleif evaluated using the JDK's Math functions usingdoubleprecision.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static doubleHALF_LOG_TWO_PI0.5 * ln(2 pi).(package private) static doubleLN_TWOln(2).(package private) static doubleROOT_PI_DIV_TWOsqrt(pi / 2).(package private) static doubleROOT_TWOsqrt(2).(package private) static doubleROOT_TWO_DIV_PIsqrt(2 / pi).
-
Constructor Summary
Constructors Modifier Constructor Description privateConstants()No instances.
-
-
-
Field Detail
-
ROOT_TWO
static final double ROOT_TWO
sqrt(2). https://oeis.org/A002193.- See Also:
- Constant Field Values
-
ROOT_TWO_DIV_PI
static final double ROOT_TWO_DIV_PI
sqrt(2 / pi). https://oeis.org/A076668.- See Also:
- Constant Field Values
-
ROOT_PI_DIV_TWO
static final double ROOT_PI_DIV_TWO
sqrt(pi / 2). https://oeis.org/A069998.- See Also:
- Constant Field Values
-
LN_TWO
static final double LN_TWO
ln(2). https://oeis.org/A002162.- See Also:
- Constant Field Values
-
HALF_LOG_TWO_PI
static final double HALF_LOG_TWO_PI
0.5 * ln(2 pi). https://oeis.org/A075700.- See Also:
- Constant Field Values
-
-