Next: , Previous: RNG params, Up: Random Number Generators


9.6 Member functions

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.