public static double PolyLog(
int n,
double x
)
Public Shared Function PolyLog (
n As Integer,
x As Double
) As Double
public:
static double PolyLog(
int n,
double x
)
static member PolyLog :
n : int *
x : float -> float
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.
ArgumentOutOfRangeException | n is negative or x is greater than one. |