Dilog function

Dilog functions

Dilog functions

Dilog functions as per the Gnu Scientific Library reference manual section 7.11. These functions are declared in header file gsl_sf_dilog.h

dilog(x, give=FALSE, strict=TRUE) complex_dilog(r, theta, give=FALSE, strict=TRUE)

Arguments

  • x: input: real values

  • r,theta: In complex_dilog(), input values. If theta takes its default value of NULL, interpret r as a complex-valued object. If theta is non-null, interpret r as the Modulus, and theta as the argument, of the complex object passed to gsl_sf_complex_dilog_e()

  • give: Boolean, with default FALSE meaning to return just the answers, and TRUE meaning to return a status vector as well

  • strict: Boolean, with TRUE meaning to return NaN

    if nonzero status is returned by the GSL function (FALSE

    means to return the value: use with caution)

Details

All functions as documented in the GSL reference manual section 7.11.

References

https://www.gnu.org/software/gsl/

Author(s)

Robin K. S. Hankin

Examples

x <- seq(from=0, to=0.1,by=0.01) cbind(x,"f(x)"=dilog(1-x)) #table 27.7, p1005
  • Maintainer: Robin K. S. Hankin
  • License: GPL-3
  • Last published: 2023-01-24