A class for the polylogarithms. More...
#include <Polylogarithms.h>
Inheritance diagram for Polylogarithms:A class for the polylogarithms.
This class handles the polylogarithms \(\mathrm{Li}_2(x)\), \(\mathrm{Li}_2(z)\) and \(\mathrm{Li}_3(x)\), where \(x\) and \(z\) are real and complex variables, respectively.
Definition at line 24 of file Polylogarithms.h.
Public Member Functions | |
| gslpp::complex | Li2 (const double x) const |
| The dilogarithm with a real argument, \(\mathrm{Li}_2(x)\). More... | |
| gslpp::complex | Li2 (const gslpp::complex z) const |
| The dilogarithm with a complex argument, \(\mathrm{Li}_2(z)\). More... | |
| double | Li3 (const double x) const |
| The trilogarithm \(\mathrm{Li}_3(x)\). More... | |
| Polylogarithms () | |
| The default constructor. More... | |
Public Member Functions inherited from BernoulliNumbers | |
| BernoulliNumbers () | |
| The default constructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from BernoulliNumbers | |
| double | B [19] |
| the Bernoulli numbers More... | |
| Polylogarithms::Polylogarithms | ( | ) |
| gslpp::complex Polylogarithms::Li2 | ( | const double | x | ) | const |
The dilogarithm with a real argument, \(\mathrm{Li}_2(x)\).
This function calls the GSL function gsl_sf_complex_dilog_xy_e().
| [in] | x | a real variable. |
Definition at line 22 of file Polylogarithms.cpp.
| gslpp::complex Polylogarithms::Li2 | ( | const gslpp::complex | z | ) | const |
The dilogarithm with a complex argument, \(\mathrm{Li}_2(z)\).
This function calls the GSL function gsl_sf_complex_dilog_xy_e().
| [in] | z | a complex variable. |
Definition at line 29 of file Polylogarithms.cpp.
| double Polylogarithms::Li3 | ( | const double | x | ) | const |
The trilogarithm \(\mathrm{Li}_3(x)\).
| [in] | x | a real variable. |
Definition at line 36 of file Polylogarithms.cpp.