The random number generator implementation class. More...
#include <Random.hpp>
Public Member Functions | |
RandomNumberGenerator (T lower, T upper) | |
Create a randomly seeded random number generator with a range of [lower, upper]. More... | |
RandomNumberGenerator (T lower, T upper, unsigned int seed) | |
Create an explicitly seeded random number generator with a range of [lower, upper]. More... | |
T | operator() () |
Get the next random number. More... | |
The random number generator implementation class.
Typedefs are defined for different primitive types.
The Mersenne Twister generator is used internally.
|
inline |
Create a randomly seeded random number generator with a range of [lower, upper].
|
inline |
Create an explicitly seeded random number generator with a range of [lower, upper].
|
inline |
Get the next random number.