Function rgsl::randist::flat::flat_pdf [] [src]

pub fn flat_pdf(x: f64, a: f64, b: f64) -> f64

This function computes the probability density p(x) at x for a uniform distribution from a to b, using the formula given above.