Packages

o

de.h2b.scala.lib.math

Constants

object Constants

An object that defines fundamental mathematical constants.

The values of the constants are taken from Abramowitz/Stegun, pp. 2-3. They have as much digits as listed there, respectively.

Beyond, there are two useful constants for conversion from radians to degrees and vice versa.

Copyright (C) 1991, 2006, 2008, 2015 Hans-Hermann Bode

Version

3.0

Note

We use lowercase identifiers deliberately to reflect the usual mathematical notation and provide addtional Unicode greek-letter versions where appropriate.

See also

M. Abramowitz and I. A. Stegun (Ed.). Handbook of Mathematical Functions. Dover Publications, New York (1964). 9th printing, 1970.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constants
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final val deg: Double(0.017453292519943295)

    1 deg in rad.

  7. final val e: Double(2.718281828459045)

    e.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final val expGamma: Double(1.781072417990198)

    eγ.

  11. final val expPi: Double(23.14069263277927)

    eπ.

  12. final val expγ: Double(1.781072417990198)
  13. final val expπ: Double(23.14069263277927)
  14. final val gamma: Double(0.5772156649015329)

    Euler constant γ.

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final val ln10: Double(2.302585092994046)

    ln 10.

  19. final val ln2: Double(0.6931471805599453)

    ln 2.

  20. final val lnGamma: Double(-0.5495393129816448)

    ln γ.

  21. final val lnPi: Double(1.1447298858494002)

    ln π.

  22. final val lnγ: Double(-0.5495393129816448)
  23. final val lnπ: Double(1.1447298858494002)
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final val pi: Double(3.141592653589793)

    π.

  28. final val rad: Double(57.29577951308232)

    1 rad in deg.

  29. final val sqrt10: Double(3.1622776601683795)

    √10.

  30. final val sqrt2: Double(1.4142135623730951)

    √2.

  31. final val sqrtE: Double(1.6487212707001282)

    √e.

  32. final val sqrtPi: Double(1.772453850905516)

    √π.

  33. final val sqrtπ: Double(1.772453850905516)
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final val γ: Double(0.5772156649015329)
  40. final val π: Double(3.141592653589793)

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped