cpp/numeric/random/exponential distribution

Produces random non-negative floating-point values, distributed according to probability density function:



The value obtained is the time/distance until the next random event if random events occur at constant rate per unit of time/distance. For example, this distribution describes the time between the clicks of a Geiger counter or the distance between point mutations in a DNA strand.

This is the continuous counterpart of std.

satisfies.