Function statrs::function::factorial::ln_binomial [−][src]
pub fn ln_binomial(n: u64, k: u64) -> f64
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