The Lambert W function W(z) is the inverse of u \exp(u) = z.
In versions < 0.6.0 of the package this function was denoted as
It is now replaced with the more descriptive
xexp(x) deriv_xexp(x, degree = 1)
a numeric vector of real/complex values.
non-negative integer; degree of the derivative
The n-th derviative of x \cdot \exp(x) is available in closed for as
\exp(x) \cdot (x + n).
Returns z = x \exp(x) for x \in C. If x is a vector/matrix, so is z.
plot(xexp, -5, 0.5, type="l", xlab="u", ylab="z") grid() abline(h=0, lty = 2) abline(v=0, lty = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.