File: specfunc-clausen.texi

package info (click to toggle)
gsl-doc 2.3-1
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 27,748 kB
  • ctags: 15,177
  • sloc: ansic: 235,014; sh: 11,585; makefile: 925
file content (28 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (5)
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