Uniformly distributed random numbers. More...
#include "../array/FixedArray.h"
#include <limits>
#include <functional>
#include <cassert>
Go to the source code of this file.
Classes | |
class | UniformRandom< T > |
Uniformly distributed random numbers. More... | |
class | SubtractiveRNG |
Subtractive random number generator. More... | |
class | UniformRandomBase |
The base class manages the subtractive random number generator. More... | |
class | UniformRandomInteger< T > |
Implementation for integer types. More... | |
class | UniformRandomReal< T > |
Implementation for real (floating point) number types. More... | |
class | UniformRandomPoint< N, T > |
Uniform random points in N-D. More... | |
Defines | |
#define | UNIFORM_RANDOM(_T, _Base) |
The macro for defining the UniformRandom classes. | |
Functions | |
UNIFORM_RANDOM (char, UniformRandomInteger) | |
Uniform random number generator for char. | |
UNIFORM_RANDOM (signed char, UniformRandomInteger) | |
Uniform random number generator for signed char. | |
UNIFORM_RANDOM (unsigned char, UniformRandomInteger) | |
Uniform random number generator for unsigned char. | |
UNIFORM_RANDOM (short, UniformRandomInteger) | |
Uniform random number generator for short. | |
UNIFORM_RANDOM (int, UniformRandomInteger) | |
Uniform random number generator for int. | |
UNIFORM_RANDOM (float, UniformRandomReal) | |
Uniform random number generator for float. | |
UNIFORM_RANDOM (double, UniformRandomReal) | |
Uniform random number generator for double. | |
UNIFORM_RANDOM (long double, UniformRandomReal) | |
Uniform random number generator for long double. |
Uniformly distributed random numbers.