Function rgsl::randist::gumbel::type_1::gumbel1

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

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

p(x) dx = a b \exp(-(b \exp(-ax) + ax)) dx

for -\infty < x < \infty.