|
| normal_distribution (result_type __mean, result_type __stddev=result_type(1)) |
|
| normal_distribution (const param_type &__p) |
|
template<typename _ForwardIterator , typename _UniformRandomNumberGenerator > |
void | __generate (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng) |
|
template<typename _ForwardIterator , typename _UniformRandomNumberGenerator > |
void | __generate (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng, const param_type &__p) |
|
template<typename _UniformRandomNumberGenerator > |
void | __generate (result_type *__f, result_type *__t, _UniformRandomNumberGenerator &__urng, const param_type &__p) |
|
result_type | max () const |
|
_RealType | mean () const |
|
result_type | min () const |
|
template<typename _UniformRandomNumberGenerator > |
result_type | operator() (_UniformRandomNumberGenerator &__urng) |
|
template<typename _UniformRandomNumberGenerator > |
result_type | operator() (_UniformRandomNumberGenerator &__urng, const param_type &__p) |
|
param_type | param () const |
|
void | param (const param_type &__param) |
|
void | reset () |
|
_RealType | stddev () const |
|
|
template<typename _RealType1 , typename _CharT , typename _Traits > |
std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::normal_distribution< _RealType1 > &__x) |
|
template<typename _RealType1 > |
bool | operator== (const std::normal_distribution< _RealType1 > &__d1, const std::normal_distribution< _RealType1 > &__d2) |
|
template<typename _RealType1 , typename _CharT , typename _Traits > |
std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, std::normal_distribution< _RealType1 > &__x) |
|
template<typename _RealType = double>
class std::normal_distribution< _RealType >
A normal continuous distribution for random numbers.
The formula for the normal probability density function is
Definition at line 1964 of file random.h.
template<typename _RealType >
template<typename _UniformRandomNumberGenerator >
Polar method due to Marsaglia.
Devroye, L. Non-Uniform Random Variates Generation. Springer-Verlag, New York, 1986, Ch. V, Sect. 4.4.
Definition at line 1789 of file bits/random.tcc.