Uniform [0, N) pseudo-random generator.
More...
#include <rand.h>
|
typedef unsigned | value_type |
|
|
| random_number (unsigned seed=0) |
|
value_type | operator() (value_type N) const |
| Returns a random number from [0, N) More...
|
|
template<class UniformRGen_ = random_uniform_fast>
struct random_number< UniformRGen_ >
Uniform [0, N) pseudo-random generator.
template<class UniformRGen_ = random_uniform_fast>
value_type random_number< UniformRGen_ >::operator() |
( |
value_type |
N | ) |
const |
|
inline |
Returns a random number from [0, N)
The documentation for this struct was generated from the following file: