Function rgsl::randist::negative_binomial::negative_binomial_pdf [] [src]

pub fn negative_binomial_pdf(k: u32, p: f64, n: f64) -> f64

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