final case class TinyMT32(st0: Int, st1: Int, st2: Int, st3: Int, parameter: TinyMT32Parameter) extends Rand with Product with Serializable

parameter

parameters for this generator.

Source
TinyMT32.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Rand, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TinyMT32
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Rand
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TinyMT32(st0: Int, st1: Int, st2: Int, st3: Int, parameter: TinyMT32Parameter)

    parameter

    parameters for this generator.

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 choose(from: Int, to: Int): (Rand, Int)
    Definition Classes
    Rand
  6. def chooseLong(from: Long, to: Long): (Rand, Long)
    Definition Classes
    Rand
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getCharacteristic: String

    return characteristic polynomial in hexadecimal format.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def getDelta: Int

    return Delta of TinyMT.

  13. def getId: Int

    return ID of TinyMT.

    return ID of TinyMT. ID is not unique in TinyMT.

  14. def getJumpedArray(count: Int, jump: Long): Array[TinyMT32]

    Make and return an array of TinyMT.

    Make and return an array of TinyMT. Each element of the array has the same characteristic polynomial with this. Especially, the first element is just same as this. The second element has the state of jump * 264 steps after the first element. In other word, the first element will generate the same sequence with the second element, after jump * 264 pseudo random number generation.

    Note: Do not call any setSeed methods after jump. Seeding will cancel the effect of jump.

    count

    number of arrays

    jump

    jump step

    returns

    jumped array of TinyMT32.

  15. def getWeight: Int

    return Hamming weight of characteristic polynomial of TinyMT.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def next: Rand
    Definition Classes
    Rand
  19. def nextDouble: (TinyMT32, Double)
    Definition Classes
    TinyMT32Rand
  20. def nextFloat: (TinyMT32, Float)
  21. def nextInt: (TinyMT32, Int)
    Definition Classes
    TinyMT32Rand
  22. final def nextIntFromNextLong: (Rand, Int)
    Attributes
    protected[this]
    Definition Classes
    Rand
  23. def nextLong: (TinyMT32, Long)
    Definition Classes
    TinyMT32Rand
  24. final def nextLongFromNextInt: (Rand, Long)
    Attributes
    protected[this]
    Definition Classes
    Rand
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def reseed(seed: Long): TinyMT32
    Definition Classes
    TinyMT32Rand
  28. def setIntSeed(seed: Int): TinyMT32
    Definition Classes
    TinyMT32Rand
  29. def setLongSeed(seed: Long): TinyMT32
  30. def setSeed(seeds: Array[Int]): TinyMT32
  31. def setSeed(seed: String): TinyMT32
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Rand

Inherited from AnyRef

Inherited from Any

Ungrouped