Skip to main content

random_exponential

Function random_exponential 

Source
pub fn random_exponential<R: Rng>(rng: &mut Random<R>, lambda: f64) -> f64
Expand description

Sample from an exponential distribution