Exponential
Returns the time until the next random event if the rate of events is lambda (with default value 1.0).
The probability density function is given by,
Constructors
Exponential(const Exponential distribution) -> Exponential
Copy constructor for Exponential distribution.
Parameters
- distribution: Exponential distribution to be copied
Symbols
| Name | Description |
|---|---|
= | Copy assignment operator for Exponential distribution. |
Members
| Name | Description |
|---|---|
| lambda | Rate of events. |
| max | Returns the maximum possible value from the distribution |
| min | Returns the minimum possible value from the distribution |
| sample | Sample from distribution. |