FLINT3.7.0-dev

_gr_poly_mullow, gr_poly_mullow

Synopsis#include <flint/gr_poly.h>
int _gr_poly_mullow(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, slong len, gr_ctx_t ctx)source
int gr_poly_mullow(gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, slong len, gr_ctx_t ctx)source

Sets res to the product truncated to length len, that is reduced modulo x^{\mathit{len}}. The underscore version requires positive lengths and \mathit{len} \le \mathit{len1} + \mathit{len2} - 1, writes len coefficients and does not allow aliasing. It calls the ring method GR_METHOD_POLY_MULLOW, which defaults to classical multiplication and which most rings with fast multiplication override.

Cite this page

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