pub fn exponential_distribution<U>(
uniform_generator: &mut U,
lambda: f64,
) -> f64where
U: UniformGenerator,Expand description
An exponential sample with rate lambda (mean 1/λ) by inversion, −ln(1 − u)/λ: the
waiting time between events of a Poisson process.