Function rv::misc::ln_gammafn

source ·
pub fn ln_gammafn(x: f64) -> f64
Expand description

Logarithm of the gamma function, ln Γ(x)

§Example


use rv::misc::ln_gammafn;

assert!((ln_gammafn(4.0) - 6.0_f64.ln()) < 1E-12);

§Notes

This function is a wrapper around special::Gamma::ln_gamma.. The name ln_gamma is reserved for possible future use in standard libraries. This function is purely to avoid warnings resulting from this.