use ffi;
use types::Rng;
pub fn pareto(r: &Rng, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_ran_pareto(ffi::FFI::unwrap(r), a, b) }
}
pub fn pareto_pdf(x: f64, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_ran_pareto_pdf(x, a, b) }
}
pub fn pareto_P(x: f64, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_cdf_pareto_P(x, a, b) }
}
pub fn pareto_Q(x: f64, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_cdf_pareto_Q(x, a, b) }
}
pub fn pareto_Pinv(P: f64, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_cdf_pareto_Pinv(P, a, b) }
}
pub fn pareto_Qinv(Q: f64, a: f64, b: f64) -> f64 {
unsafe { ffi::gsl_cdf_pareto_Qinv(Q, a, b) }
}