Skip to main content

trigamma

Function trigamma 

Source
pub fn trigamma<T: TrigammaArg>(z: T) -> T
Expand description

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

This is the derivative of the digamma function 1:

$$ \psi'(z) = \sum_{k=0}^\infty {1 \over (z+k)^2} . $$

It equals polygamma(1, x) for real $x$.

§See also


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