Random

A psuedo-random number generator

Constructors

this
this(size_t seed)

Constructs a random number generator with a set seed.

Members

Functions

next
size_t next()

Gets the next value in the random stream

next
void next(ubyte[] destination)

Gets the next bytes in the random stream

nextUniform
double nextUniform()

Gets the next value in the random stream

reset
void reset()

Constructs a random number generator with a set seed.

Inherited Members

From RandomBase

reset
void reset()

Resets the random number generator to its initial state.

next
size_t next()

Gets the next value in the random stream

nextUniform
double nextUniform()

Gets the next value in the random stream

next
void next(ubyte[] destination)

Gets the next bytes in the random stream

Meta