pub fn binomial_pdf(k: u32, p: f64, n: u32) -> f64
Expand description

This function computes the probability p(k) of obtaining k from a binomial distribution with parameters p and n, using the formula given above.