Dilog {gsl} | R Documentation |
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)
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) |
All functions as documented in the GSL reference manual section 7.11.
Robin K. S. Hankin
http://www.gnu.org/software/gsl
x <- seq(from=0, to=0.1,by=0.01) cbind(x,"f(x)"=dilog(1-x)) #table 27.7, p1005