Uniformly distributed random numbers. More...
#include <UniformRandom.h>
Uniformly distributed random numbers.
This class uses std::subtractive_rng
to provide a uniformly distributed random generator. T
is the number type.
All instances inherit from UniformRandomBase. This class provides the UniformRandomBase::initialize()
member function for seeding the random number generator.
For integer-like number types, this class inherits from UniformRandomInteger. The following types are supported:
The long integer number types are not supported because the underlying random number generator (std::subtractive_rng
) generates unsigned int's. Thus the following number types are not supported.
For floating point number types, this class inherits from UniformRandomReal. The following types are supported: