Lambert's W function as per the Gnu Scientific Library reference manual
section 7.23. These functions are declared in header file
lambert_W0(x, give=FALSE, strict=TRUE)
input: real values
Boolean with TRUE meaning to return a list of three
items: the value, an estimate of the error, and a status number
Boolean, with TRUE meaning to return NaN
if status is an error
Robin K. S. Hankin
a <- runif(6)
L <- lambert_W0(a)
print(L*exp(L) - a)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.