|
libstdc++
|
Uniform discrete distribution for random numbers. A discrete random distribution on the range
with equal probability throughout the range.
| typedef _IntType std::uniform_int_distribution::result_type |
| std::uniform_int_distribution::uniform_int_distribution | ( | _IntType | __a = 0, |
| _IntType | __b = std::numeric_limits<_IntType>::max() |
||
| ) | [inline, explicit] |
| result_type std::uniform_int_distribution::max | ( | ) | const [inline] |
| result_type std::uniform_int_distribution::min | ( | ) | const [inline] |
| result_type std::uniform_int_distribution::operator() | ( | _UniformRandomNumberGenerator & | __urng | ) | [inline] |
Generating functions.
Definition at line 1713 of file random.h.
References operator()(), and param().
Referenced by operator()().
| param_type std::uniform_int_distribution::param | ( | ) | const [inline] |
Returns the parameter set of the distribution.
Definition at line 1683 of file random.h.
Referenced by operator()(), std::operator==(), and std::operator>>().
| void std::uniform_int_distribution::param | ( | const param_type & | __param | ) | [inline] |
| void std::uniform_int_distribution::reset | ( | ) | [inline] |