The base class manages the subtractive random number generator. More...
#include <UniformRandom.h>
Public Member Functions | |
| void | initialize (const unsigned int n) |
| Initialize (seed) the random number generator. | |
Protected Member Functions | |
| UniformRandomBase () | |
| Default constructor. | |
| UniformRandomBase (const unsigned int n) | |
| Construct and initialize with the given seed. | |
| UniformRandomBase (const UniformRandomBase &x) | |
| Copy constructor. | |
| UniformRandomBase & | operator= (const UniformRandomBase &other) |
| Assignment operator. | |
| ~UniformRandomBase () | |
| Destructor. | |
| unsigned int | random (const unsigned int n) const |
| Return a pseudo-random integer in [0 .. n). | |
The base class manages the subtractive random number generator.
1.6.3