Class Constants
- java.lang.Object
-
- org.apache.commons.statistics.distribution.Constants
-
final class Constants extends java.lang.Object
Constants 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 closestdouble
if evaluated using the JDK's Math functions usingdouble
precision.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static double
HALF_LOG_TWO_PI
0.5 * ln(2 pi).(package private) static double
LN_TWO
ln(2).(package private) static double
ROOT_PI_DIV_TWO
sqrt(pi / 2).(package private) static double
ROOT_TWO
sqrt(2).(package private) static double
ROOT_TWO_DIV_PI
sqrt(2 / pi).
-
Constructor Summary
Constructors Modifier Constructor Description private
Constants()
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
-
-