Skip to main content

Module gamma

Module gamma 

Source
Expand description

Gamma function and related functions.

See the book entry The gamma function and related functions.

Functions§

digamma
The digamma function ψ(x) = Γ’(x)/Γ(x). Returns NaN at the poles.
gamma
The gamma function Γ(x) for real x.
ln_gamma
The natural logarithm of |Γ(x)|. Returns +inf at the poles.