_gr_poly_preinv_mulmod, gr_poly_preinv_mulmod
Synopsis
#include <flint/gr_poly.h>int _gr_poly_preinv_mulmod(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, const gr_poly_preinv_t P, gr_ctx_t ctx)sourceint gr_poly_preinv_mulmod(gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, const gr_poly_preinv_t P, gr_ctx_t ctx)sourceSet res to the product modulo f. The underscore version requires reduced inputs (lengths less than \operatorname{len}(f)), writes \operatorname{len}(f) - 1 coefficients, allows aliasing, and skips the reduction when the product has degree less than \deg f.
Cite this page
The FLINT team, “_gr_poly_preinv_mulmod, gr_poly_preinv_mulmod (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_poly_preinv_mulmod.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-preinv-mulmod,
author = {{The FLINT team}},
title = {{\_gr\_poly\_preinv\_mulmod, gr\_poly\_preinv\_mulmod (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/_gr_poly_preinv_mulmod.html},
note = {Generated 2026-10-20}
}