rgsl/randist/
rayleigh_tail.rs

1//
2// A rust binding for the GSL library by Guillaume Gomez (guillaume1.gomez@gmail.com)
3//
4
5/// This function computes the probability density p(x) at x for a Rayleigh tail distribution with scale parameter sigma and lower limit a, using the formula given above.
6#[doc(alias = "gsl_ran_rayleigh_tail_pdf")]
7pub fn rayleigh_tail_pdf(x: f64, a: f64, sigma: f64) -> f64 {
8    unsafe { sys::gsl_ran_rayleigh_tail_pdf(x, a, sigma) }
9}