RandomG.UniformRDistribution

uniform distribution on the subrange [0;to) for integers, (0;to) for floats

class RandomG(SourceT = DefaultEngine)
struct UniformRDistribution (
T
bool boundCheck
) {}

Members

Functions

getRandom
T getRandom()

returns a random number

opCall
UniformRDistribution opCall(U a)

chainable call style initialization of variables (thorugh a call to randomize)

randomize
U randomize(U a)

initialize el

Static functions

create
UniformRDistribution create(RandomG r, T to)

initializes the probability distribution

Variables

r
RandomG r;
Undocumented in source.
to
T to;
Undocumented in source.

Meta