Functions for random number generation. More...
Go to the source code of this file.
Functions | |
int | thor::random (int min, int max) |
Returns an int random number in the interval [min, max]. More... | |
unsigned int | thor::random (unsigned int min, unsigned int max) |
Returns an unsigned int random number in the interval [min, max]. More... | |
float | thor::random (float min, float max) |
Returns a float random number in the interval [min, max]. More... | |
float | thor::randomDev (float middle, float deviation) |
Returns a float random number in the interval [middle-deviation, middle+deviation]. More... | |
void | thor::setRandomSeed (unsigned long seed) |
Sets the seed of the random number generator. More... | |
Functions for random number generation.