Skip to main content

digamma

Function digamma 

Source
pub fn digamma<T: DigammaArg>(x: T) -> T
Expand description

Digamma function $\psi(z)$ for real or complex input

This function is defined as 1:

$$ \psi(z) = {\Gamma'(z) \over \Gamma(z)} , $$

where $\Gamma$ is the Gamma function.

Corresponds to scipy.special.digamma in scipy

§See also

  • polygamma: Polygamma function (n-th derivative)

  1. NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/5.2.E2. ↩