Skip to content

MersenneTwisters

Index

Public

# RandomNumbers.MersenneTwistersModule.

The module for Mersenne Twisters.

Currently only provide one RNG type:

source

# RandomNumbers.MersenneTwisters.MT19937Type.

MT19937 <: MersenneTwister{UInt32}
MT19937([seed])

MT19937 RNG. The seed is a Tuple of 624 UInt32 numbers, or an Integer which will be automatically convert to an UInt32 number.

source

Internal

# RandomNumbers.MersenneTwisters.MersenneTwisterType.

MersenneTwister{T} <: AbstractRNG{T}

The base type of Mersenne Twisters.

source

# RandomNumbers.MersenneTwisters.mt_getMethod.

Get a random UInt32 number from a MT19937 object.

source

# RandomNumbers.MersenneTwisters.mt_set!Method.

Set up a MT19937 RNG object using a Tuple of 624 UInt32 numbers.

source

# RandomNumbers.MersenneTwisters.mt_set!Method.

Set up a MT19937 RNG object using an UInt32 number.

source