#include <Random.h>
Public Member Functions | |
FastRandom (void) | |
Construct the random generator, initialize with a seed of 0. | |
void | setSeed (unsigned long seed) |
Set the seed. | |
unsigned long | get (void) |
Get a random number between 0 and 2^31. | |
double | getRange (double range) |
Get a random double between 0 and range, use get() internally. | |
Private Attributes | |
unsigned long | randx |
value used to compute next pseudo-random value |