Next: RNG listings, Previous: RNG params, Up: Random Number Generators [Contents][Index]
RNGs have these methods:
T random();
Returns a random number.
void seed(unsigned int);
Seeds the underlying IRNG. See above for an example of seeding with the system timer.