FLINT3.7.0-dev

gr_mpoly_inv

Synopsis#include <flint/gr_mpoly.h>
int gr_mpoly_inv(gr_mpoly_t res, const gr_mpoly_t poly, gr_mpoly_ctx_t ctx)source

Sets res to the inverse of poly if it is a constant with an invertible coefficient. Returns GR_DOMAIN if poly is zero (outside the zero ring) or, over an integral domain, nonconstant; returns GR_UNABLE if invertibility cannot be decided (over rings with nilpotents a nonconstant polynomial can be a unit).

Cite this page

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