Blame doc/specfunc-clausen.rst
|
Packit |
67cb25 |
.. index:: Clausen functions
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
The Clausen function is defined by the following integral,
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
.. only:: not texinfo
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
.. math:: Cl_2(x) = - \int_0^x dt \log{\left( 2 \sin{(t/2)} \right)}
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
.. only:: texinfo
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Cl_2(x) = - \int_0^x dt log( 2 \sin(t/2) )
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
It is related to the :ref:`dilogarithm <dilog-function>` by
|
|
Packit |
67cb25 |
:math:`Cl_2(\theta) = \Im Li_2(\exp(i\theta))`.
|
|
Packit |
67cb25 |
The Clausen functions are declared in the header file
|
|
Packit |
67cb25 |
:file:`gsl_sf_clausen.h`.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
.. function:: double gsl_sf_clausen (double x)
|
|
Packit |
67cb25 |
int gsl_sf_clausen_e (double x, gsl_sf_result * result)
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
These routines compute the Clausen integral :math:`Cl_2(x)`.
|