Rate parameter (λ > 0)
Cumulative distribution function (CDF).
Value (x ≥ 0)
Cumulative probability up to x
Mean of the distribution.
Mean = 1 / λ
Probability density function (PDF).
Value (x ≥ 0)
Probability density at x
Generate a random sample from the distribution. Uses inverse transform sampling.
Sample value
Variance of the distribution.
Variance = 1 / λ²
Class representing the Exponential distribution. Models the time between events in a Poisson process.