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 () |
Friends | |
bool | operator== (const exponential_distribution &__d1, const exponential_distribution &__d2) |
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 4229 of file random.h.
References std::numeric_limits< _Tp >::max().
|
inline |
|
inline |
|
inline |
Returns the parameter set of the distribution.
Definition at line 4207 of file random.h.
Referenced by std::operator>>().
|
inline |
|
inline |
|
friend |