Lambert_W

% Lambert_W Lambert's W function. % W = lambertw(Z) solves W*exp(W) = Z. % W = lambertw(K,Z) is the K-th branch of this multi-valued f
56 Downloads
Updated 21 May 2022

View License

% Lambert_W Lambert's W function.
% W = lambertw(Z) solves W*exp(W) = Z.
% W = lambertw(K,Z) is the K-th branch of this multi-valued function.
% References:
% [1] Robert M. Corless, G. H. Gonnet, D. E. G. Hare,
% D. J. Jeffrey, and D. E. Knuth, "On the Lambert W Function",
% Advances in Computational Mathematics, volume 5, 1996, pp. 329-359.
% [2] Corless, Jeffrey, Knuth, "A Sequence of Series
% for The Lambert W Function", ISSAC '97
% Copyright Lateef Adewale Kareem 2022.

Cite As

Lateef Adewale Kareem (2026). Lambert_W (https://uk.mathworks.com/matlabcentral/fileexchange/111945-lambert_w), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

This function computes for integer and non integer branches. It can also handle complex x and complex branches.

1.0.0