Function rgsl::gamma_beta::factorials::lnchoose [] [src]

pub fn lnchoose(n: u32, m: u32) -> f64

This routine computes the logarithm of n choose m. This is equivalent to the sum \log(n!) - \log(m!) - \log((n-m)!).