Skip to content

exponentialDistribution

exponentialDistribution(rate?): Distribution

Defined in: exponential-distribution.ts:17

The exponential distribution — the waiting time between events arriving at a constant average rate.

Every member has a closed form, and each is written in the shape that keeps it accurate: expm1 and log1p rather than exp and log of a quantity near 1, which is where the whole answer sits for a short wait.

number = 1

Events per unit time; must be positive.

Distribution

The distribution.

When rate is not positive.