std::uniform_real_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::uniform_real_distribution::uniform_real_distribution

explicit uniform_real_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit uniform_real_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (minimum value) b - the b distribution parameter (maximum value) params - the dis

std::uniform_real_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::uniform_real_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.

std::uniform_int_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::uniform_int_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.

std::uniform_real_distribution

Defined in header <random> template< class RealType = double > class uniform_real_distribution; (since C++11) Produces random floating-point values i, uniformly distributed on the interval [a, b), that is, distributed according to the probability function: P(i|a,b) = 1b − a . std::uniform_real_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type generated by the generator. The effect is undefi

std::uniform_int_distribution::uniform_int_distribution

explicit uniform_int_distribution( IntType a = 0, IntType b = std::numeric_limits<IntType>::max() ); (1) (since C++11) explicit uniform_int_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. The behavior is undefined if a>b. Parameters a - the a distributio

std::uniform_real_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::uniform_real_distribution::a

result_type a() const; (1) (since C++11) result_type b() const; (2) (since C++11) Returns the parameters the distribution has been constructed with. 1) Returns the a distribution parameter. It defines the minimum possibly generated value. The default value is 0.0. 2) Returns the b distribution parameter. It defines the maximum possibly generated value. The default value is 1.0 Parameters (none). Return value 1) The a distribution parameter. 2) The b distribution paramet