final
class
MersenneTwister32 extends Random with Arbitrary[Int]
Instance Constructors
-
new
MersenneTwister32()
-
new
MersenneTwister32(key: Array[Int])
-
new
MersenneTwister32(seed: Int)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
apply(): Int
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (Int) ⇒ Boolean): Arbitrary[Int]
-
def
finalize(): Unit
-
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (Int) ⇒ B): Arbitrary[B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
randomBoolean(): Boolean
-
def
randomByte(): Byte
-
def
randomByteBelow(upper: Byte): Byte
-
def
randomByteBetween(lower: Byte, upper: Byte): Byte
-
def
randomDouble(): Double
-
def
randomDoubleBelow(upper: Double): Double
-
def
randomDoubleBetween(lower: Double, upper: Double): Double
-
def
randomFloat(): Float
-
def
randomFloatBelow(upper: Float): Float
-
def
randomFloatBetween(lower: Float, upper: Float): Float
-
def
randomInt(): Int
-
def
randomIntBelow(upper: Int): Int
-
def
randomIntBetween(lower: Int, upper: Int): Int
-
def
randomLong(): Long
-
def
randomLongBelow(upper: Long): Long
-
def
randomLongBetween(lower: Long, upper: Long): Long
-
def
randomShort(): Short
-
def
randomShortBelow(upper: Short): Short
-
def
randomShortBetween(lower: Short, upper: Short): Short
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withFilter(p: (Int) ⇒ Boolean): Arbitrary[Int]
Inherited from () ⇒ Int
Inherited from AnyRef
Inherited from Any
A 32-bit pseudorandom number generator. Implements Makoto Matsumoto and Takuji Nishimura's MT19937 algorithm.
0.1
0.0
MT19937