Lambert W function (logarithmic input)

Version 1.0.0.0 (1,57 ko) par Michael
Lambert W function for real, nonnegative, possibly large arguments.
105 téléchargements
Mise à jour 20 mai 2016

Afficher la licence

This function is analogous to the builtin lambertw() except that it accepts the logarithm of the argument:
lambertw(0,exp(logx)) == lambertwlog(logx) (within machine precision)
This function only supports real values of logx and the principal branch of the Lambert W function (lambertw(0,x) for real, nonnegative x). For complex arguments or to evaluate alternative branches, use the builtin lambertw() function.

The logarithmic input allows for much larger arguments than the builtin lambertw(). For example,
lambertw(exp(710)) == Inf % exp(710) == Inf
lambertwlog(710) == 703.44
lambertwlog(10000) == 9990.79

Though limited in domain, this function is hundreds of times faster than the builtin version (as of MATLAB 8.5).

Citation pour cette source

Michael (2026). Lambert W function (logarithmic input) (https://fr.mathworks.com/matlabcentral/fileexchange/57239-lambert-w-function-logarithmic-input), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2015a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Special Functions dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0