Lambert W Function for Applications in Physics
Official code: DarkoVeberic/LambertW (36 stars, C++, BSD-2-Clause, last commit 2023-03-03).
Abstract
The Lambert W(x) function and its possible applications in physics are presented. The actual numerical implementation in C++ consists of Halley's and Fritsch's iterations with initial approximations based on branch-point expansion, asymptotic series, rational fits, and continued-logarithm recursion.