RunTimeSFMT

SFMT random number generator, whose parameters are set run time.

Constructors

this
this(sfmt.internal.Parameters parameters)

Set parameters and seed with std.random.unpredictableSeed.

this
this(sfmt.internal.Parameters parameters, uint seed)
this(sfmt.internal.Parameters parameters, uint[] seed)

Set parameters and _seed with specified seed.

Members

Functions

id
string id()
mexp
size_t mexp()
size_t mexp(size_t value)

Mersenne exponent.

setParameters
void setParameters(sfmt.internal.Parameters parameters)

Set parameters.

Mixins

__anonymous
mixin SFMTMixin
Undocumented in source.

Variables

m
size_t m;
masks
size_t[4] masks;
Undocumented in source.
n
ptrdiff_t n;
parity
size_t[4] parity;
Undocumented in source.
shifts
size_t[4] shifts;
size
ptrdiff_t size;
Undocumented in source.

Mixed In Members

From mixin SFMTMixin

isUniformRandom
enum isUniformRandom;
min
enum min;
max
enum max;
fillState
void fillState(ubyte b)
Undocumented in source. Be warned that the author may not have intended to support it.
seed
void seed(uint seed)
seed
void seed(uint[] seed)
empty
enum empty;
front
ulong front()
popFront
void popFront()

input range interface.

frontPop
T frontPop()
Undocumented in source. Be warned that the author may not have intended to support it.
frontPop
T frontPop()
Undocumented in source. Be warned that the author may not have intended to support it.
next
T next(size_t size)
idx
int idx;
Undocumented in source.
assureLongPeriod
bool assureLongPeriod()

returns true if modification is done

Meta