|
| gamma_distribution (_RealType __alpha_val=_RealType(1), _RealType __beta_val=_RealType(1)) |
|
| gamma_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) |
|
_RealType | alpha () const |
|
_RealType | beta () const |
|
result_type | max () 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 () |
|
template<typename _RealType = double>
class std::gamma_distribution< _RealType >
A gamma continuous distribution for random numbers.
The formula for the gamma probability density function is:
Definition at line 2352 of file random.h.
template<typename _RealType >
template<typename _UniformRandomNumberGenerator >
Marsaglia, G. and Tsang, W. W. "A Simple Method for Generating Gamma Variables" ACM Transactions on Mathematical Software, 26, 3, 363-372, 2000.
Definition at line 2337 of file bits/random.tcc.
References std::dec(), std::basic_ios< _CharT, _Traits >::fill(), std::ios_base::flags(), std::left(), std::log(), std::weibull_distribution< _RealType >::operator()(), std::__detail::operator>>(), std::gamma_distribution< _RealType >::param(), std::pow(), std::ios_base::precision(), std::scientific(), std::skipws(), and std::basic_ios< _CharT, _Traits >::widen().