final case class TinyMT32(st0: Int, st1: Int, st2: Int, st3: Int, parameter: TinyMT32Parameter) extends Rand with Product with Serializable
- Alphabetic
- By Inheritance
- TinyMT32
- Serializable
- Serializable
- Product
- Equals
- Rand
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TinyMT32(st0: Int, st1: Int, st2: Int, st3: Int, parameter: TinyMT32Parameter)
- parameter
parameters for this generator.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
choose(from: Int, to: Int): (Rand, Int)
- Definition Classes
- Rand
-
def
chooseLong(from: Long, to: Long): (Rand, Long)
- Definition Classes
- Rand
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getCharacteristic: String
return characteristic polynomial in hexadecimal format.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getDelta: Int
return Delta of TinyMT.
-
def
getId: Int
return ID of TinyMT.
return ID of TinyMT. ID is not unique in TinyMT.
-
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.
-
def
getWeight: Int
return Hamming weight of characteristic polynomial of TinyMT.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
next: Rand
- Definition Classes
- Rand
- def nextDouble: (TinyMT32, Double)
- def nextFloat: (TinyMT32, Float)
- def nextInt: (TinyMT32, Int)
-
final
def
nextIntFromNextLong: (Rand, Int)
- Attributes
- protected[this]
- Definition Classes
- Rand
- def nextLong: (TinyMT32, Long)
-
final
def
nextLongFromNextInt: (Rand, Long)
- Attributes
- protected[this]
- Definition Classes
- Rand
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def reseed(seed: Long): TinyMT32
- def setIntSeed(seed: Int): TinyMT32
- def setLongSeed(seed: Long): TinyMT32
- def setSeed(seeds: Array[Int]): TinyMT32
- def setSeed(seed: String): TinyMT32
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )