basis.stat

MersenneTwister32

final class MersenneTwister32 extends Random with Arbitrary[Int]

A 32-bit pseudorandom number generator. Implements Makoto Matsumoto and Takuji Nishimura's MT19937 algorithm.

Source
MersenneTwister32.scala
Version

0.1

Since

0.0

See also

MT19937

Linear Supertypes
Arbitrary[Int], () ⇒ Int, Random, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MersenneTwister32
  2. Arbitrary
  3. Function0
  4. Random
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MersenneTwister32()

  2. new MersenneTwister32(key: Array[Int])

  3. new MersenneTwister32(seed: Int)

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. def apply(): Int

    Definition Classes
    MersenneTwister32 → Function0
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def filter(p: (Int) ⇒ Boolean): Arbitrary[Int]

    Definition Classes
    Arbitrary
    Annotations
    @unspecialized()
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flatMap[B](f: (Int) ⇒ Arbitrary[B]): Arbitrary[B]

    Definition Classes
    Arbitrary
    Annotations
    @unspecialized()
  12. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def map[B](f: (Int) ⇒ B): Arbitrary[B]

    Definition Classes
    Arbitrary
    Annotations
    @unspecialized()
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def randomBoolean(): Boolean

    Definition Classes
    MersenneTwister32Random
  20. def randomByte(): Byte

    Definition Classes
    MersenneTwister32Random
  21. def randomByteBelow(upper: Byte): Byte

    Definition Classes
    Random
  22. def randomByteBetween(lower: Byte, upper: Byte): Byte

    Definition Classes
    Random
  23. def randomDouble(): Double

    Definition Classes
    MersenneTwister32Random
  24. def randomDoubleBelow(upper: Double): Double

    Definition Classes
    Random
  25. def randomDoubleBetween(lower: Double, upper: Double): Double

    Definition Classes
    Random
  26. def randomFloat(): Float

    Definition Classes
    MersenneTwister32Random
  27. def randomFloatBelow(upper: Float): Float

    Definition Classes
    Random
  28. def randomFloatBetween(lower: Float, upper: Float): Float

    Definition Classes
    Random
  29. def randomInt(): Int

    Definition Classes
    MersenneTwister32Random
  30. def randomIntBelow(upper: Int): Int

    Definition Classes
    Random
  31. def randomIntBetween(lower: Int, upper: Int): Int

    Definition Classes
    Random
  32. def randomLong(): Long

    Definition Classes
    MersenneTwister32Random
  33. def randomLongBelow(upper: Long): Long

    Definition Classes
    Random
  34. def randomLongBetween(lower: Long, upper: Long): Long

    Definition Classes
    Random
  35. def randomShort(): Short

    Definition Classes
    MersenneTwister32Random
  36. def randomShortBelow(upper: Short): Short

    Definition Classes
    Random
  37. def randomShortBetween(lower: Short, upper: Short): Short

    Definition Classes
    Random
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    MersenneTwister32Arbitrary → Function0 → AnyRef → Any
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withFilter(p: (Int) ⇒ Boolean): Arbitrary[Int]

    Definition Classes
    Arbitrary
    Annotations
    @unspecialized()

Inherited from Arbitrary[Int]

Inherited from () ⇒ Int

Inherited from Random

Inherited from AnyRef

Inherited from Any

Ungrouped