pub fn weibull_distribution<U>(
uniform_generator: &mut U,
k: f64,
lambda: f64,
) -> f64where
U: UniformGenerator,Expand description
A Weibull sample with shape k and scale lambda, λ (−ln(1 − u))^{1/k} by inversion (k = 1 is
the exponential distribution with mean λ).