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