RandomG.UniformR2Distribution

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

Members

Functions

getRandom
T getRandom()

returns a random number

opCall
UniformR2Distribution opCall(U a, S args)

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

randomize
U randomize(U a)

initialize a

Static functions

create
UniformR2Distribution create(RandomG r, T from, T to)

initializes the probability distribution

Variables

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

Meta