|
| 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 > |
gamma_distribution< _RealType >
::result_type | operator() (_UniformRandomNumberGenerator &__urng, const param_type &__param) |
|
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 2502 of file random.h.
template<typename _RealType = double>
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 2489 of file bits/random.tcc.
References std::log(), and std::pow().