Generates a random value of type T using an optional generator G. (community summary)
saturated random number generator
Uniformly distributed boolean.
auto s = rand!bool;
import mir.random.engine.xorshift; auto gen = Xorshift(1); auto s = gen.rand!bool;
Generates a random value of type T using an optional generator G. (community summary)