statrs::function::factorial

Function ln_binomial

Source
pub fn ln_binomial(n: u64, k: u64) -> f64
Expand description

Computes the natural logarithm of the binomial coefficient ln(n choose k) where k and n are non-negative values

ยงRemarks

Returns f64::NEG_INFINITY if k > n