Click or drag to resize

AdvancedMathPsi Method (Int32, Double)

Computes the polygamma function.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static double Psi(
	int n,
	double x
)

Parameters

n
Type: SystemInt32
The order, which must be non-negative.
x
Type: SystemDouble
The argument.

Return Value

Type: Double
The value of ψn(x).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn is negative.
Remarks

The polygamma function gives higher logarithmic derivatives of the Gamma function.

See Also