Himalaya
Namespaces | Functions
Li2.cpp File Reference

Implementation of the dilogarithm function. More...

#include "himalaya/misc/Li2.hpp"
#include "himalaya/misc/complex.hpp"
#include <cmath>
#include <limits>
Include dependency graph for Li2.cpp:

Go to the source code of this file.

Namespaces

 himalaya
 

Functions

double himalaya::dilog (double x) noexcept
 Real dilogarithm $\mathrm{Li}_2(x)$. More...
 
std::complex< double > himalaya::dilog (const std::complex< double > &z_) noexcept
 Complex dilogarithm $\mathrm{Li}_2(z)$. More...
 
double himalaya::clausen_2 (double x) noexcept
 Clausen function $\mathrm{Cl}_2(\theta) = \mathrm{Im}(\mathrm{Li}_2(e^{i\theta}))$. More...
 

Detailed Description

Implementation of the dilogarithm function.

Note
The implementation has been taken from the polylogarithm package.

Definition in file Li2.cpp.