Class MathConstants

java.lang.Object
org.episteme.core.mathematics.MathConstants

public final class MathConstants extends Object
A collection of useful mathematical constants stored as high-precision Real numbers.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind), Mark Hale
  • Field Details

    • PI

      public static final Real PI
      The number π (pi), the ratio of a circle's circumference to its diameter.
    • PI_QTY

      public static final Quantity<Dimensionless> PI_QTY
    • TWO_PI

      public static final Real TWO_PI
      Two times π (τ - tau).
    • TWO_PI_QTY

      public static final Quantity<Dimensionless> TWO_PI_QTY
    • HALF_PI

      public static final Real HALF_PI
      Half times π.
    • HALF_PI_QTY

      public static final Quantity<Dimensionless> HALF_PI_QTY
    • E

      public static final Real E
      The base of natural logarithms (e).
    • E_QTY

      public static final Quantity<Dimensionless> E_QTY
    • SQRT2

      public static final Real SQRT2
      Square root of 2.
    • SQRT2_QTY

      public static final Quantity<Dimensionless> SQRT2_QTY
    • SQRT2PI

      public static final Real SQRT2PI
      Square root of 2π.
    • SQRT2PI_QTY

      public static final Quantity<Dimensionless> SQRT2PI_QTY
    • GAMMA

      public static final Real GAMMA
      Euler's gamma constant (γ).
    • GAMMA_QTY

      public static final Quantity<Dimensionless> GAMMA_QTY
    • GOLDEN_RATIO

      public static final Real GOLDEN_RATIO
      The golden ratio (φ).
    • GOLDEN_RATIO_QTY

      public static final Quantity<Dimensionless> GOLDEN_RATIO_QTY
    • LOG10

      public static final Real LOG10
      Natural logarithm of 10.
    • LOG10_QTY

      public static final Quantity<Dimensionless> LOG10_QTY
    • LOG2

      public static final Real LOG2
      Natural logarithm of 2.
    • LOG2_QTY

      public static final Quantity<Dimensionless> LOG2_QTY