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
)
Public Shared Function Psi (
n As Integer,
x As Double
) As Double
public:
static double Psi(
int n,
double x
)
static member Psi :
n : int *
x : float -> float
Parameters
- n
- Type: SystemInt32
The order, which must be non-negative. - x
- Type: SystemDouble
The argument.
Return Value
Type:
DoubleThe value of ψ
n(x).
Exceptions Remarks The polygamma function gives higher logarithmic derivatives of the Gamma function.
See Also