FLINT3.7.0-dev

gr_generic_poly_preinv_set, gr_generic_poly_divrem_preinv

Synopsis#include <flint/gr_poly.h>
int gr_generic_poly_preinv_set(gr_poly_preinv_struct * P, gr_srcptr f, slong lenf, gr_ctx_t ctx)source
int gr_generic_poly_divrem_preinv(gr_ptr Q, gr_ptr R, gr_srcptr A, slong lenA, const gr_poly_preinv_struct * P, gr_ctx_t ctx)source

The default implementations of the methods GR_METHOD_POLY_PREINV_SET and GR_METHOD_POLY_DIVREM_PREINV, declared in gr_generic.h. A ring that overrides one of these methods can call them for the cases it does not handle itself.

Cite this page

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