| lambertW | R Documentation |
Ben Bolker's port of Lambert W from GNU Scientific Library (GPLV3)
lambertW(z, b = 0, maxiter = 10, eps = .Machine$double.eps, min.imag = 1e-09)
z |
input value |
b |
branch, set to principal by default |
maxiter |
Halley iteration count |
eps |
error precision |
min.imag |
minimum for imaginary solution |
Ben Bolker's port of Lambert W from GNU Scientific Library
numeric
Benjamin Bolker (port)
## Principal branch: W(1) ~ 0.5671
lambertW(1)
## Verify: W(z) * exp(W(z)) == z
w <- lambertW(2)
w * exp(w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.