Golem is hosted by Hepforge, IPPP Durham

src/module/dilogarithme [ Modules ]

[ Top ] [ Modules ]

NAME

  Module dilogarithme

USAGE

  use dilogarithme

DESCRIPTION

  This module provides two public routines to compute the dilogarithm with
  real and complex argument

OUTPUT

  It exports:
  * zdilog -- a function which returns the dilogarithm with real (or complex) argument
  * cdilog -- a function which returns the dilogarithm with complex argument

NOTES

  zdilog can be called with complex argument and parameter s. If the imaginary part vanishes,
  zdilog with real argument is called. Here, s becomes important.

USES

  * precision_golem (src/module/precision.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 ]

[ Top ] [ 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 ]

[ Top ] [ Functions ]

NAME

  Function zdilog

USAGE

  complex = zdilog(a,s)

DESCRIPTION

  This function returns the dilogarithm of a complex z, this complex number 
  has the specific form: z = a + i lambda s where lambda << 1.
  a can now be complex. If the imaginary part vanishes, the sign of s is relevant.

INPUTS

  * a -- a real/complex (type ki), the argument
  * 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