Object

de.h2b.scala.lib.math

Constants

Related Doc: package math

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final val deg: Double

    Permalink

    1 deg in rad.

  7. final val e: Double(2.718281828459045)

    Permalink

    e.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final val expGamma: Double(1.781072417990198)

    Permalink

    eγ.

  11. final val expPi: Double(23.14069263277927)

    Permalink

    eπ.

  12. final val expγ: Double(1.781072417990198)

    Permalink
  13. final val expπ: Double(23.14069263277927)

    Permalink
  14. final val gamma: Double(0.5772156649015329)

    Permalink

    Euler constant γ.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final val ln10: Double(2.302585092994046)

    Permalink

    ln 10.

  19. final val ln2: Double(0.6931471805599453)

    Permalink

    ln 2.

  20. final val lnGamma: Double(-0.5495393129816448)

    Permalink

    ln γ.

  21. final val lnPi: Double(1.1447298858494002)

    Permalink

    ln π.

  22. final val lnγ: Double(-0.5495393129816448)

    Permalink
  23. final val lnπ: Double(1.1447298858494002)

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final val pi: Double(3.141592653589793)

    Permalink

    π.

  28. final val rad: Double

    Permalink

    1 rad in deg.

  29. final val sqrt10: Double(3.1622776601683795)

    Permalink

    √10.

  30. final val sqrt2: Double(1.4142135623730951)

    Permalink

    √2.

  31. final val sqrtE: Double(1.6487212707001282)

    Permalink

    √e.

  32. final val sqrtPi: Double(1.772453850905516)

    Permalink

    √π.

  33. final val sqrtπ: Double(1.772453850905516)

    Permalink
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final val γ: Double(0.5772156649015329)

    Permalink
  40. final val π: Double(3.141592653589793)

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped