Function rgsl::randist::gumbel::type_2::gumbel2

source ·
pub fn gumbel2(r: &mut Rng, a: f64, b: f64) -> f64
Expand description

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.