src/module/dilogarithme [ Modules ]
NAME
Module dilogarithme
USAGE
use dilogarithme
DESCRIPTION
This module provides two public routines to compute the dilogarithme with real and complex argument
OUTPUT
It exports: * zdilog -- a function which returns the dilogarithm with real argument * cdilog -- a function which returns the dilogarithm with complex argument
USES
* precision (src/module/preci_double.f90) * constante (src/module/constante.f90) * logarithme (src/module/z_log.f90) * sortie_erreur (src/module/sortie_erreur.f90) * equal (src/module/equal.f90)
src/module/dilogarithme/cdilog [ Functions ]
NAME
Function cdilog
USAGE
complex = cdilog(z)
DESCRIPTION
This function return the dilogarithm of a complex z, taken from T. Binoth
INPUTS
* z -- a complex (type ki), the argument of the dilogarithm
SIDE EFFECTS
No side effect
RETURN VALUE
This function returns a complex (type ki)
EXAMPLE
src/module/dilogarithme/zdilog [ Functions ]
NAME
Function zdilog
USAGE
complex = zdilog(a,s)
DESCRIPTION
This function return the dilogarithm of a complex z, this complex number has the specific form: z = a + i lambda s where lambda << 1
INPUTS
* a -- a real (type ki), the real part * s -- a real (type ki), s = +/- 1, it gives the sign of the small imaginary part
SIDE EFFECTS
No side effect
RETURN VALUE
This function returns a complex (type ki)
EXAMPLE