Click or drag to resize

AdvancedMathPolyLog Method

Computes the polylogarithm function.

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


Type: SystemInt32
The order, which must be non-negative.
Type: SystemDouble
The argument, which must be less than or equal to one.

Return Value

Type: Double
The value of Lin(x).

The nth polylog of x is defined via the series:

Its name comes from the fact that this is a generalization of the logarithm series. For n = 1 it reduces to -log(1-x). For n = 2 it reduces to the DiLog(Double) function.

The polylogarithm function becomes complex for arguments larger than one.

See Also