[an error occurred while processing this directive]
Package-X is hosted by Hepforge, IPPP Durham

DiLog

DiLog[x,α]
gives the dilogarithm function, which for real evaluates on the side of the branch prescribed by .

Details and OptionsDetails and Options

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • DiLog[x,α] has a branch cut discontinuity in the complex plane running from to .
  • For , the sign of α determines on which side of the branch cut DiLog evaluates. For all other values of x, DiLog[x,α] returns PolyLog[2,x].

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Compare Mathematica's built-in function PolyLog[2,x] with DiLog[x,α] defined by Package-X:

In[1]:=
Click for copyable input
Out[1]=
Out[1]=
Out[1]=

Symbolically:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Evaluate to high precision:

In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=