libstdc++
|
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::result_type |
std::exponential_distribution::exponential_distribution | ( | const result_type & | __lambda = result_type(1) | ) | [inline, explicit] |
_RealType std::exponential_distribution::lambda | ( | ) | const [inline] |
result_type std::exponential_distribution::max | ( | ) | const [inline] |
result_type std::exponential_distribution::min | ( | ) | const [inline] |
result_type std::exponential_distribution::operator() | ( | _UniformRandomNumberGenerator & | __urng | ) | [inline] |
Generating functions.
Definition at line 4236 of file random.h.
References operator()(), and param().
Referenced by operator()().
param_type std::exponential_distribution::param | ( | ) | const [inline] |
Returns the parameter set of the distribution.
Definition at line 4206 of file random.h.
Referenced by operator()(), std::operator==(), and std::operator>>().
void std::exponential_distribution::param | ( | const param_type & | __param | ) | [inline] |
void std::exponential_distribution::reset | ( | ) | [inline] |