A uniform distribution of random numbers. More...
#include <random.hpp>
Public Member Functions | |
template<typename RandGeneratorType > | |
ResultT | operator() (RandGeneratorType &gen, ResultT from, ResultT to) |
Returns a uniformly distributed pseudo-random number. More... | |
A uniform distribution of random numbers.
Definition at line 160 of file random.hpp.
|
inline |
Returns a uniformly distributed pseudo-random number.
gen | A random number generator implementing the concept of rand_generator_base |
from | Minimum of the uniform distribution |
to | Maximum of the uniform distribution |
Definition at line 172 of file random.hpp.