rgsl/randist/landau.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 the Landau distribution using an approximation to the formula given above.
6#[doc(alias = "gsl_ran_landau_pdf")]
7pub fn landau_pdf(x: f64) -> f64 {
8 unsafe { sys::gsl_ran_landau_pdf(x) }
9}