Computes the dilogarathm function, also called Spence's function.
Namespace:
Meta.Numerics.Functions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax 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
- Type: SystemDouble
The argument, which must be less than or equal to unity.
Return Value
Type:
DoubleThe value Li
2(x).
Remarks The dilogarithm can be defined by an infinite sum.
The function gets is name from the similarity 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