Function rgsl::randist::gumbel::type_2::gumbel2 [] [src]

pub fn gumbel2(r: &Rng, a: f64, b: f64) -> f64

This function returns a random variate from the Type-2 Gumbel distribution. The Type-2 Gumbel distribution function is,

p(x) dx = a b x{-a-1} \exp(-b x{-a}) dx

for 0 < x < \infty.