scalaprops

TinyMT32

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
Learn more about member selection
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: 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def choose(from: Int, to: Int): (Rand, Int)

    Definition Classes
    Rand
  8. def chooseLong(from: Long, to: Long): (Rand, Long)

    Definition Classes
    Rand
  9. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getCharacteristic: String

    return characteristic polynomial in hexadecimal format.

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

    Definition Classes
    AnyRef → Any
  14. def getDelta: Int

    return Delta of TinyMT.

  15. def getId: Int

    return ID of TinyMT.

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

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

  17. def getWeight: Int

    return Hamming weight of characteristic polynomial of TinyMT.

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def next: Rand

    Definition Classes
    Rand
  21. def nextDouble: (TinyMT32, Double)

    Definition Classes
    TinyMT32Rand
  22. def nextFloat: (TinyMT32, Float)

  23. def nextInt: (TinyMT32, Int)

    Definition Classes
    TinyMT32Rand
  24. final def nextIntFromNextLong: (Rand, Int)

    Attributes
    protected[this]
    Definition Classes
    Rand
  25. def nextLong: (TinyMT32, Long)

    Definition Classes
    TinyMT32Rand
  26. final def nextLongFromNextInt: (Rand, Long)

    Attributes
    protected[this]
    Definition Classes
    Rand
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def reseed(seed: Long): TinyMT32

    Definition Classes
    TinyMT32Rand
  30. def setIntSeed(seed: Int): TinyMT32

    Definition Classes
    TinyMT32Rand
  31. def setLongSeed(seed: Long): TinyMT32

  32. def setSeed(seeds: Array[Int]): TinyMT32

  33. def setSeed(seed: String): TinyMT32

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

    Definition Classes
    AnyRef
  35. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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