Class/Object

scalaprops

TinyMT32

Related Docs: object TinyMT32 | package scalaprops

Permalink

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)

    Permalink

    parameter

    parameters for this generator.

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 choose(from: Int, to: Int): (Rand, Int)

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

    Permalink
    Definition Classes
    Rand
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

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

    Permalink

    return characteristic polynomial in hexadecimal format.

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getDelta: Int

    Permalink

    return Delta of TinyMT.

  13. def getId: Int

    Permalink

    return ID of TinyMT.

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

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

    Permalink

    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

    Permalink

    return Hamming weight of characteristic polynomial of TinyMT.

  16. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  18. def next: Rand

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

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

    Permalink
  21. def nextInt: (TinyMT32, Int)

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

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

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

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

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

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

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

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

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

    Permalink
  31. def setSeed(seed: String): TinyMT32

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

    Permalink
    Definition Classes
    AnyRef
  33. final def wait(): Unit

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

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

    Permalink
    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