[][src]Function mathru::special::gamma::ln_gamma

pub fn ln_gamma<T>(x: T) -> T where
    T: Gamma

Log-gamma function

lnΓ(z)

Fore more information: https://en.wikipedia.org/wiki/Gamma_function#The_log-gamma_function

Arguments

  • z

Example

use mathru::special::gamma;

let x: f64 = 0.3_f64;
let ln_gamma: f64 = gamma::ln_gamma(x);