Function statrs::function::factorial::binomial[][src]

pub fn binomial(n: u64, k: u64) -> f64

Computes the binomial coefficient n choose k where k and n are non-negative values.

Remarks

Returns 0.0 if k > n