Skip to main content

binomial_coefficient

Function binomial_coefficient 

Source
pub fn binomial_coefficient(n: usize, k: usize) -> u64
Expand description

n choose k, computed multiplicatively so it stays exact for the small values derivative formulas need.