Method on @sym: lambertw (x)
Method on @sym: lambertw (k, x)

Symbolic Lambert W function.

The Lambert W function is the inverse of W*exp(W). The branch k defaults to zero if omitted.

Examples:

syms x
lambertw(x)
  ⇒ (sym) lambertw(x)
lambertw(2, x)
  ⇒ (sym) lambertw(2, x)

Also supports vector/matrix input:

syms x y
lambertw([0 1], [x y])
  ⇒ (sym) [lambertw(x)  lambertw(1, y)]  (1×2 matrix)

See also: lambertw.

Package: symbolic