Function rgsl::randist::weibull::weibull
[−]
[src]
pub fn weibull(r: &Rng, a: f64, b: f64) -> f64
This function returns a random variate from the Weibull distribution. The distribution function is,
p(x) dx = {b \over ab} x{b-1} \exp(-(x/a)b) dx
for x >= 0.