Real Values of the Lambert W Function
The Lambert package contains a function (wapr) for calculating real values of the Lambert W function, as well as a test module for testing wapr against high precision results.
Note: The Symbolic Math Toolbox already contains Maple's implementation of the W function. The Maple version accepts complex arguments, and gives results for complex branches of W.
Syntax:
[w,nerror] = wapr(x,nb,l,m);
where
w = output, W(x);
nerror = error flag, 0 (no errors), or 1 (error);
x = argument of W;
nb = branch (0 for upper branch - default, anything else for the lower branch);
l ~= 1, argument x is actual value for which W is desired (default); = 1, argument x is positive offset from -exp(-1);
m = 1, print error/information messages, ~= 1, don't print anything (default).
Citar como
D. A. Barry (2025). Real Values of the Lambert W Function (https://es.mathworks.com/matlabcentral/fileexchange/3644-real-values-of-the-lambert-w-function), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
