RandomG.UniformDistribution

uniform distribution on the whole range for integers, and on (0;1) for floats with boundCheck=true this is equivalent to r itself, here just for completness

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

Members

Functions

getRandom
T getRandom()

returns a random number

opCall
UniformDistribution opCall(U a, S args)

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

randomize
U randomize(U a)

initialize el

Static functions

create
UniformDistribution create(RandomG r)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

r
RandomG r;
Undocumented in source.

Meta