java.lang.Object
org.mariuszgromada.math.mxparser.mathcollection.MathConstants

public final class MathConstants extends Object
MathConstants - class representing the most important math constants.
Version:
4.3.4
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    Alladi-Grinstead constant
    static final double
    Apery's constant
    static final double
    Backhouse's constant
    static final double
    Bernstein's constant
    static final double
    Brun's constant for prime quadruplets
    static final double
    Brun's constant for twin primes
    static final double
    de Bruijn-Newman constant
    static final double
    Cahen's constant
    static final double
    Catalan's constant
    static final double
    D2BYSQRT3
    static final double
    Napier's constant, or Euler's number, base of Natural logarithm
    static final double
    Embree-Trefethen constant
    static final double
    Erdos-Borwein constant
    static final double
    Euler-Mascheroni constant
    static final double
    Tetration right convergence limit
    static final double
    1 over e
    static final double
    Tetration left convergence limit
    static final double
    Feigenbaum constant
    static final double
    Feigenbaum constant
    static final double
    Fransén-Robinson constant
    static final double
    Gauss-Kuzmin-Wirsing constant
    static final double
    Golden ratio
    static final double
    Golomb-Dickman constant
    static final double
    Gompertz Constant OEIS A073003
    static final double
    Hafner-Sarnak-McCurley constant
    static final double
    Khinchin's constant
    static final double
    Landau's constant
    static final double
    Landau-Ramanujan constant
    static final double
    Laplace limit
    static final double
    Legendre's constant
    static final double
    Lengyel's constant
    static final double
    Levy's constant
    static final double
    A069284 - Logarithmic integral function li(2)
    static final double
    Porter's constant
    static final double
    Natural logarithm of sqrt(2)
    static final double
    Natural logarithm of pi
    static final double
    Meissel-Mertens constant
    static final double
    Mills' constant
    static final double
    MRB constant
    static final double
    Niven's constant
    static final double
    Not-a-Number
    static final double
    Omega constant
    static final double
    Parabolic constant
    static final double
    Pi, Archimedes' constant or Ludolph's number
    static final double
    Pi/2
    static final double
    Plastic constant
    static final double
    Porter's constant
    static final double
    Ramanujan-Soldner constant
    static final double
    Sierpiński's constant
    static final double
    Square root of 2
    static final double
    SQRT2BY2
    static final double
    Square root of 2*pi
    static final double
    SQRT3
    static final double
    SQRT3BY2
    static final double
    SQRT3BY3
    static final double
    Square root of pi
    static final double
    Feigenbaum constant
    static final double
    Viswanath's constant
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PI

      public static final double PI
      Pi, Archimedes' constant or Ludolph's number
      See Also:
    • PIBY2

      public static final double PIBY2
      Pi/2
      See Also:
    • E

      public static final double E
      Napier's constant, or Euler's number, base of Natural logarithm
      See Also:
    • EULER_MASCHERONI

      public static final double EULER_MASCHERONI
      Euler-Mascheroni constant
      See Also:
    • GOLDEN_RATIO

      public static final double GOLDEN_RATIO
      Golden ratio
      See Also:
    • PLASTIC

      public static final double PLASTIC
      Plastic constant
      See Also:
    • EMBREE_TREFETHEN

      public static final double EMBREE_TREFETHEN
      Embree-Trefethen constant
      See Also:
    • FEIGENBAUM_DELTA

      public static final double FEIGENBAUM_DELTA
      Feigenbaum constant
      See Also:
    • FEIGENBAUM_ALFA

      public static final double FEIGENBAUM_ALFA
      Feigenbaum constant
      See Also:
    • TWIN_PRIME

      public static final double TWIN_PRIME
      Feigenbaum constant
      See Also:
    • MEISSEL_MERTEENS

      public static final double MEISSEL_MERTEENS
      Meissel-Mertens constant
      See Also:
    • BRAUN_TWIN_PRIME

      public static final double BRAUN_TWIN_PRIME
      Brun's constant for twin primes
      See Also:
    • BRAUN_PRIME_QUADR

      public static final double BRAUN_PRIME_QUADR
      Brun's constant for prime quadruplets
      See Also:
    • BRUIJN_NEWMAN

      public static final double BRUIJN_NEWMAN
      de Bruijn-Newman constant
      See Also:
    • CATALAN

      public static final double CATALAN
      Catalan's constant
      See Also:
    • LANDAU_RAMANUJAN

      public static final double LANDAU_RAMANUJAN
      Landau-Ramanujan constant
      See Also:
    • VISWANATH

      public static final double VISWANATH
      Viswanath's constant
      See Also:
    • LEGENDRE

      public static final double LEGENDRE
      Legendre's constant
      See Also:
    • RAMANUJAN_SOLDNER

      public static final double RAMANUJAN_SOLDNER
      Ramanujan-Soldner constant
      See Also:
    • ERDOS_BORWEIN

      public static final double ERDOS_BORWEIN
      Erdos-Borwein constant
      See Also:
    • BERNSTEIN

      public static final double BERNSTEIN
      Bernstein's constant
      See Also:
    • GAUSS_KUZMIN_WIRSING

      public static final double GAUSS_KUZMIN_WIRSING
      Gauss-Kuzmin-Wirsing constant
      See Also:
    • HAFNER_SARNAK_MCCURLEY

      public static final double HAFNER_SARNAK_MCCURLEY
      Hafner-Sarnak-McCurley constant
      See Also:
    • GOLOMB_DICKMAN

      public static final double GOLOMB_DICKMAN
      Golomb-Dickman constant
      See Also:
    • CAHEN

      public static final double CAHEN
      Cahen's constant
      See Also:
    • LAPLACE_LIMIT

      public static final double LAPLACE_LIMIT
      Laplace limit
      See Also:
    • ALLADI_GRINSTEAD

      public static final double ALLADI_GRINSTEAD
      Alladi-Grinstead constant
      See Also:
    • LENGYEL

      public static final double LENGYEL
      Lengyel's constant
      See Also:
    • LEVY

      public static final double LEVY
      Levy's constant
      See Also:
    • APERY

      public static final double APERY
      Apery's constant
      See Also:
    • MILLS

      public static final double MILLS
      Mills' constant
      See Also:
    • BACKHOUSE

      public static final double BACKHOUSE
      Backhouse's constant
      See Also:
    • PORTER

      public static final double PORTER
      Porter's constant
      See Also:
    • LIEB_QUARE_ICE

      public static final double LIEB_QUARE_ICE
      Porter's constant
      See Also:
    • NIVEN

      public static final double NIVEN
      Niven's constant
      See Also:
    • SIERPINSKI

      public static final double SIERPINSKI
      Sierpiński's constant
      See Also:
    • KHINCHIN

      public static final double KHINCHIN
      Khinchin's constant
      See Also:
    • FRANSEN_ROBINSON

      public static final double FRANSEN_ROBINSON
      Fransén-Robinson constant
      See Also:
    • LANDAU

      public static final double LANDAU
      Landau's constant
      See Also:
    • PARABOLIC

      public static final double PARABOLIC
      Parabolic constant
      See Also:
    • OMEGA

      public static final double OMEGA
      Omega constant
      See Also:
    • MRB

      public static final double MRB
      MRB constant
      See Also:
    • LI2

      public static final double LI2
      A069284 - Logarithmic integral function li(2)
      See Also:
    • GOMPERTZ

      public static final double GOMPERTZ
      Gompertz Constant OEIS A073003
      See Also:
    • SQRT2

      public static final double SQRT2
      Square root of 2
    • SQRTPi

      public static final double SQRTPi
      Square root of pi
      See Also:
    • SQRT2Pi

      public static final double SQRT2Pi
      Square root of 2*pi
      See Also:
    • LNPI

      public static final double LNPI
      Natural logarithm of pi
    • EXP_MINUS_E

      public static final double EXP_MINUS_E
      Tetration left convergence limit
    • EXP_1_OVER_E

      public static final double EXP_1_OVER_E
      Tetration right convergence limit
    • EXP_MINUS_1

      public static final double EXP_MINUS_1
      1 over e
      See Also:
    • LN_SQRT2

      public static final double LN_SQRT2
      Natural logarithm of sqrt(2)
    • SQRT2BY2

      public static final double SQRT2BY2
      SQRT2BY2
    • SQRT3

      public static final double SQRT3
      SQRT3
    • SQRT3BY2

      public static final double SQRT3BY2
      SQRT3BY2
    • D2BYSQRT3

      public static final double D2BYSQRT3
      D2BYSQRT3
    • SQRT3BY3

      public static final double SQRT3BY3
      SQRT3BY3
    • NOT_A_NUMBER

      public static final double NOT_A_NUMBER
      Not-a-Number
      See Also:
  • Constructor Details

    • MathConstants

      public MathConstants()