Lambert W function (logarithmic input)

版本 1.0.0.0 (1.6 KB) 作者: Michael
Lambert W function for real, nonnegative, possibly large arguments.
96.0 次下载
更新时间 2016/5/20

查看许可证

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).

引用格式

Michael (2024). Lambert W function (logarithmic input) (https://www.mathworks.com/matlabcentral/fileexchange/57239-lambert-w-function-logarithmic-input), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Special Functions 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0