MersenneTwisterEngine
struct MersenneTwisterEngine (
UIntType
UIntType a
UIntType d
UIntType b
UIntType c
UIntType f
)
if (
isUnsigned!UIntType
) {
}
- this
this(UIntType value)
Constructs a MersenneTwisterEngine object.
- this
this(const(UIntType)[] array)
Constructs a MersenneTwisterEngine object.
A postblit is present on this object, but not explicitly documented in the source.
- opCall
UIntType opCall()
- isRandomEngine
enum isRandomEngine;
- data
UIntType[n] data;
- defaultSeed
enum UIntType defaultSeed;
- index
size_t index;
Current reversed payload index with initial value equals to n-1
- initializationMultiplier
enum UIntType initializationMultiplier;
- maskBits
enum size_t maskBits;
Parameters for the generator.
- max
enum UIntType max;
- shiftSize
enum size_t shiftSize;
- stateSize
enum size_t stateSize;
- temperingB
enum UIntType temperingB;
- temperingC
enum UIntType temperingC;
- temperingD
enum UIntType temperingD;
- temperingL
enum size_t temperingL;
- temperingS
enum size_t temperingS;
- temperingT
enum size_t temperingT;
- temperingU
enum size_t temperingU;
Parameters for the generator.
- wordSize
enum size_t wordSize;
- xorMask
enum UIntType xorMask;
Parameters for the generator.
The $(LUCKY Mersenne Twister) generator.