summaryrefslogtreecommitdiff
path: root/gsl-1.9/doc/specfunc-clausen.texi
blob: b0987c2dac7a2b2154659c36d2428d20df4537b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@cindex Clausen functions

The Clausen function is defined by the following integral,
@tex
\beforedisplay
$$
Cl_2(x) = - \int_0^x dt \log(2 \sin(t/2))
$$
\afterdisplay
@end tex
@ifinfo

@example
Cl_2(x) = - \int_0^x dt \log(2 \sin(t/2))
@end example

@end ifinfo
@noindent
It is related to the dilogarithm by 
@c{$Cl_2(\theta) = \Im(Li_2(e^{i\theta}))$}
@math{Cl_2(\theta) = \Im Li_2(\exp(i\theta))}.  
The Clausen functions are declared in the header file
@file{gsl_sf_clausen.h}.

@deftypefun double gsl_sf_clausen (double @var{x})
@deftypefunx int gsl_sf_clausen_e (double @var{x}, gsl_sf_result * @var{result})
These routines compute the Clausen integral @math{Cl_2(x)}.
@end deftypefun