Meta.Numerics Library
DiLog Method (x)
Meta.NumericsMeta.Numerics.FunctionsAdvancedMathDiLog(Double)
Computes the dilogarathm function, also called Spence's function.
Declaration Syntax
C#Visual BasicVisual C++F#
public static double DiLog(
	double x
)
Public Shared Function DiLog ( _
	x As Double _
) As Double
public:
static double DiLog(
	double x
)
static member DiLog : 
        x:float -> float 
Parameters
x (Double)
The argument, which must be less than or equal to unity.
Return Value
The value Li2(x).
Remarks

The dilogarithm can be defined by an infinite sum.

The function gets is name from the similiarity of this series to the expansion of ln(1-x), the difference being that the integer in the denominator is raised to the second power.

Li2(x) is real for -∞ < x ≤ 1; for values outside this range, use the complex version DiLog(Complex).

See Also