acb_lambertw
#include <flint/acb.h>With flags equal to ACB_LAMBERTW_LEFT, the function computes , which is in the upper half plane and in the lower half plane, connected continuously to the left of the branch points; the branch cut on is rotated counterclockwise to . (For and there is also a branch cut on , continuous from below instead of from above to keep counterclockwise continuity.)
With ACB_LAMBERTW_MIDDLE, it computes , which is in the upper half plane and in the lower half plane, connected continuously through , with branch cuts on and . It extends the real analytic function on to a complex analytic function, whereas the standard has a branch cut on that segment.
Guides#
References#
- [CGHJK1996] R. M. Corless, G. H. Gonnet, D. E. Hare, D. J. Jeffrey and D. E. Knuth, "On the Lambert W function", Advances in Computational Mathematics, 5(1) (1996), 329-359
- [Joh2017b] F. Johansson, "Computing the Lambert W function in arbitrary-precision complex interval arithmetic", preprint (2017), https://arxiv.org/abs/1705.03266
The FLINT team, “acb_lambertw (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_lambertw.html (generated 2026-11-02).
@misc{flint-doc-acb-acb-lambertw,
author = {{The FLINT team}},
title = {{acb\_lambertw (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_lambertw.html},
note = {Generated 2026-11-02}
}