Function rgsl::randist::hypergeometric::hypergeometric_pdf[][src]

pub fn hypergeometric_pdf(k: u32, n1: u32, n2: u32, t: u32) -> f64
Expand description

This function computes the probability p(k) of obtaining k from a hypergeometric distribution with parameters n1, n2, t, using the formula given above.