XLPack 6.1
Python API Reference Manual
Loading...
Searching...
No Matches

◆ digamma()

def digamma ( )

Digamma (or psi) function ψ(x)

Purpose
digamma computes the digamma (or psi) function ψ(x), where x is not 0, -1, -2, ...
ψ(x) = d/dx ln(Γ(x)) = Γ'(x)/Γ(x)
Returns
float
Digamma (or psi) function ψ(x).
Parameters
[in]xArgument x. (x != negative integer, x != 0)
Error handling
  • If x is negative integer or 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions