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