scipy_lambertw
- odl.core.util.scipy_compatibility.scipy_lambertw(x, k=0, tol=1e-08)[source]
Lambert W function.
The Lambert W function W(z) is defined as the inverse function of w * exp(w). In other words, the value of W(z) is such that z = W(z) * exp(W(z)) for any complex number z.
The Lambert W function is a multivalued function with infinitely many branches. Each branch gives a separate solution of the equation z = w exp(w). Here, the branches are indexed by the integer k. See https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.lambertw.html#scipy.special.lambertw
- Note:
This function is a direct call to scipy.special.lambertw on a Numpy Array!