|
static |
to access the unique instance
Random *therand = Random::Instance(); // give a pointer to the unique instance
After that, you can use the Random pointer to get the current random generator and to generate numbers. Ex: therand->Current()->Rndm(); // to get uniform random numbers between 0 and 1
Definition at line 69 of file Random.cpp.