ichi.maths

Rng

object Rng

Utility methods and random number implementations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rng
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class Burtle2rot extends BurtleRot32

    Bit-mixing random number generator based on rotations from Bob Burtle.

  2. final class Burtle3rot extends BurtleRot32

    Bit-mixing random number generator based on rotations from Bob Burtle.

  3. abstract class BurtleRot32 extends RngLong2State

    Bit-mixing random number generator based on rotations from Bob Burtle.

  4. class Hybrid2 extends RngLongState

    Hybrid (combined) RNG suggested by Numerical Recipes in C, 3rd.

  5. class Hybrid4 extends RngLong3State

    High-quality hybrid (combined) RNG suggested by Numerical Recipes in C, 3rd.

  6. class Lcg32 extends RngIntState

    Linear congruential generator with 2^32 modulus. Extremely fast but poor quality of randomness.

  7. class Lcg62 extends RngLongState

    Linear congruential generator with period 262 - 216.

  8. class Lcg64 extends RngLongState

    Linear congruential generator with 2^32 modulus. Extremely fast, moderately random. Based on Mascagni SPRNG lcg64 values.

  9. class Marsaglia32a6 extends RngLong3State

    Marsaglia "Weyl sequence" RNG with cycle length of 2192 - 232 from http://www.jstatsoft.org/v08/i14/paper.

  10. class Marsaglia32x3 extends RngIntState

    George Marsaglia XorShift RNG with 32 bits of state and 3 shifts.

  11. class Marsaglia64x3 extends RngLongState

    George Marsaglia XorShift RNG with 64 bits of state and 3 shifts.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Burtle2rot

  7. object Burtle3rot

  8. object Hybrid2

  9. object Hybrid4

  10. object Lcg32

  11. object Lcg62

  12. object Lcg64

  13. object Marsaglia32a6

  14. object Marsaglia32x3

  15. object Marsaglia64x3

  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def bytesInt(a: Array[Byte]): Int

    Given an array of bytes, produce an IntBuffer that delivers it as Ints (any remainder is lost).

  18. def bytesLong(a: Array[Byte]): Long

    Given an array of bytes, produce a LongBuffer that delivers it as Longs (any remainder is lost).

  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. val endian: ByteOrder

    The byte order used to pack internal state into byte arrays.

    The byte order used to pack internal state into byte arrays. (Set to java.nio.ByteOrder.LITTLE_ENDIAN.)

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

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

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. def intBytes(i: Int*): Array[Byte]

    Pack some number of Ints into a byte array.

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def longBytes(l: Long*): Array[Byte]

    Pack some number of Longs into a byte array.

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped