FLINT3.7.0-dev

_fmpq_poly_revert_series, fmpq_poly_revert_series

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_revert_series(fmpz * res, fmpz_t den, const fmpz * poly1, const fmpz_t den1, slong len1, slong n)source
void fmpq_poly_revert_series(fmpq_poly_t res, const fmpq_poly_t poly, slong n)source

Revert with an automatic choice of algorithm: if poly has integer coefficients and the coefficient of x is \pm 1, the reversion is computed over \mathbb{Z} with _fmpz_poly_revert_series; otherwise the fast Lagrange inversion is used for n < 20 and Newton iteration above.

Cite this page

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