FLINT3.7.0-dev

gr_poly_inv

Synopsis#include <flint/gr_poly.h>
int gr_poly_inv(gr_poly_t res, const gr_poly_t poly, gr_ctx_t ctx)source

Sets res to the inverse of poly in R[x]. This succeeds only for a constant polynomial with an invertible constant (and for the zero polynomial over the zero ring); any polynomial of length at least 2 gives GR_DOMAIN.

Cite this page

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