Lambert

0th

Percentile

Lambert's W function

Lambert's W function as per the Gnu Scientific Library reference manual section 7.23. These functions are declared in header file gsl_sf_lambert.h

Keywords
array
Usage
lambert_W0(x, give=FALSE, strict=TRUE)
lambert_Wm1(x, give=FALSE,strict=TRUE)
Arguments
x

input: real values

give

Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number

strict

Boolean, with TRUE meaning to return NaN if status is an error

References

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

Aliases
  • Lambert
  • lambert
  • lambert_W0
  • lambert_Wm1
  • Lambert_W0
  • Lambert_Wm1
Examples
# NOT RUN {
a <- runif(6)
L <- lambert_W0(a)
print(L*exp(L) - a)
# }
Documentation reproduced from package gsl, version 2.1-6, License: GPL-3

Community examples

Looks like there are no examples yet.