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

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

Digamma function

\psi(x)=\frac{d}{dx}\ln\big(\Gamma(x)\big)=\frac{\Gamma'(x)}{\Gamma(x)}

Fore more information: https://en.wikipedia.org/wiki/Digamma_function

Arguments

  • x

Example

use mathru::special::gamma;

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