AdvancedMathPsi(Double) Method

Computes the digamma function.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double Psi(
	double x
)

Parameters

x  Double
The argument.

Return Value

Double
The value of ψ(x).

Remarks

The psi function, also called the digamma function, is the logrithmic derivative of the Γ function.

Because it is defined as a logarithmic derivative, the digamma function does not overflow Double even for arguments for which Gamma(Double) does.

To evaluate the psi function for complex arguments, use Psi(Complex).

See Also