java.lang.Object
org.apache.commons.statistics.distribution.Constants

final class Constants extends 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 closest double if evaluated using the JDK's Math functions using double precision.

  • Field Details

    • ROOT_TWO

      static final double ROOT_TWO
      sqrt(2). https://oeis.org/A002193.
      See Also:
    • ROOT_TWO_DIV_PI

      static final double ROOT_TWO_DIV_PI
      sqrt(2 / pi). https://oeis.org/A076668.
      See Also:
    • ROOT_PI_DIV_TWO

      static final double ROOT_PI_DIV_TWO
      sqrt(pi / 2). https://oeis.org/A069998.
      See Also:
    • LN_TWO

      static final double LN_TWO
      ln(2). https://oeis.org/A002162.
      See Also:
    • HALF_LOG_TWO_PI

      static final double HALF_LOG_TWO_PI
      0.5 * ln(2 pi). https://oeis.org/A075700.
      See Also:
  • Constructor Details

    • Constants

      private Constants()
      No instances.