As in the title. The library is a perfect candidate for a header-only version, it is quick to compile (200-600 ms on my PC depending on the compiler settings), the compiled executable is extremely small (barely over 20 kB), and it has no external dependencies outside of C++ standard library.
It can be easily converted into a single header by removing 'using namespace std' and joining the files together. Below I've attached an example of header-only implementation, which I'm using in my project.
Thanks for publishing the library btw. It was surprisingly hard to find a reasonable C/C++ Lambert's W function implementation on GitHub.
LambertW.hpp.txt
As in the title. The library is a perfect candidate for a header-only version, it is quick to compile (200-600 ms on my PC depending on the compiler settings), the compiled executable is extremely small (barely over 20 kB), and it has no external dependencies outside of C++ standard library.
It can be easily converted into a single header by removing 'using namespace std' and joining the files together. Below I've attached an example of header-only implementation, which I'm using in my project.
Thanks for publishing the library btw. It was surprisingly hard to find a reasonable C/C++ Lambert's W function implementation on GitHub. LambertW.hpp.txt