statrs::function::factorial

Function ln_factorial

Source
pub fn ln_factorial(x: u64) -> f64
Expand description

Computes the logarithmic factorial function x -> ln(x!) for x >= 0.

ยงRemarks

Returns 0.0 if x <= 1