Generates a number conforming to an exponential distribution.
Declared in <absl/random/exponential_distribution.h>
template<typename RealType = double>
class exponential_distribution;
This is equivalent to the standard [rand.dist.pois.exp]distribution.
| Name | Description |
|---|---|
param_type | The parameter set of the distribution. |
| Name | Description |
|---|---|
result_type | The type of the values produced by the distribution. |
| Name | Description |
|---|---|
exponential_distribution [constructor] | Constructors |
lambda | Returns the rate parameter. |
max | Returns the largest value the distribution can produce. |
min | Returns the smallest value the distribution can produce. |
operator() | Function call operators |
param | param overloads |
reset | Resets the internal state of the distribution. |
| Name | Description |
|---|---|
absl::operator!= | Compares two distributions for inequality. |
absl::operator== | Compares two distributions for equality. |