FLINT3.7.0-dev

gr_lambertw, gr_lambertw_fmpz

Synopsis#include <flint/gr_special.h>
int gr_lambertw(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_lambertw_fmpz(gr_ptr res, gr_srcptr x, const fmpz_t k, gr_ctx_t ctx)source

Set res to the principal branch W_0(x) of the Lambert W function, or to the branch W_k(x) with index k given by the fmpz_t argument [Joh2017b].

References#

  • [Joh2017b] F. Johansson, "Computing the Lambert W function in arbitrary-precision complex interval arithmetic", preprint (2017), https://arxiv.org/abs/1705.03266
Cite this page

The FLINT team, “gr_lambertw, gr_lambertw_fmpz (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_lambertw.html (generated 2026-10-20).