pub fn exponential(r: &mut Rng, mu: f64) -> f64
Expand description

This function returns a random variate from the exponential distribution with mean mu. The distribution is,

p(x) dx = {1 \over \mu} \exp(-x/\mu) dx

for x >= 0.