Class Constants
java.lang.Object
org.apache.commons.statistics.distribution.Constants
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 closest double
if evaluated
using the JDK's Math functions using double
precision.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final double
0.5 * ln(2 pi).(package private) static final double
ln(2).(package private) static final double
sqrt(pi / 2).(package private) static final double
sqrt(2).(package private) static final double
sqrt(2 / pi). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ROOT_TWO
static final double ROOT_TWOsqrt(2). https://oeis.org/A002193.- See Also:
-
ROOT_TWO_DIV_PI
static final double ROOT_TWO_DIV_PIsqrt(2 / pi). https://oeis.org/A076668.- See Also:
-
ROOT_PI_DIV_TWO
static final double ROOT_PI_DIV_TWOsqrt(pi / 2). https://oeis.org/A069998.- See Also:
-
LN_TWO
static final double LN_TWOln(2). https://oeis.org/A002162.- See Also:
-
HALF_LOG_TWO_PI
static final double HALF_LOG_TWO_PI0.5 * ln(2 pi). https://oeis.org/A075700.- See Also:
-
-
Constructor Details
-
Constants
private Constants()No instances.
-