libstdc++
|
Classes | |
struct | param_type |
Public Types | |
typedef _RealType | result_type |
Public Member Functions | |
exponential_distribution (const result_type &__lambda=result_type(1)) | |
exponential_distribution (const param_type &__p) | |
_RealType | lambda () 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 () |
An exponential continuous distribution for random numbers.
The formula for the exponential probability density function is .
Mean | |
Median | |
Mode | |
Range | |
Standard Deviation |
typedef _RealType std::exponential_distribution< _RealType >::result_type |
|
inlineexplicit |
|
inline |
|
inline |
Returns the least upper bound value of the distribution.
Definition at line 4233 of file random.h.
References std::numeric_limits< _Tp >::max().
|
inline |
|
inline |
Generating functions.
Definition at line 4241 of file random.h.
References std::exponential_distribution< _RealType >::param().
|
inline |
Returns the parameter set of the distribution.
Definition at line 4211 of file random.h.
Referenced by std::exponential_distribution< _RealType >::operator()(), std::operator==(), and std::operator>>().
|
inline |
|
inline |