LerchPhi(z, s, a) | Return the Lerch Trancident function on a restricted |
Li(s, z) | Return the polylogarithm . |
Fi(j, z) | Return the complete Fermi-Dirac integral . |
Module of routines for computing the Lerch Trancendent and related functions.
We have the Lerch Trancendent , the Polylogarithm :
The Fermi-Dirac integrals can be expressed in terms of these:
Return the Lerch Trancident function on a restricted domain.
Computes the result using the integral representation
Examples
>>> abs(LerchPhi(1,2,3) - (np.pi**2/6.0 - 5.0/4.0)) < 1e-12
True
>>> abs(LerchPhi(0.5,2,3) - 0.157924211720100047221250) < 1e-12
True