_gr_poly_mullow_generic, _gr_poly_mulmid_generic
Synopsis
#include <flint/gr_poly.h>int _gr_poly_mullow_generic(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, slong n, gr_ctx_t ctx)sourceint _gr_poly_mulmid_generic(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, slong nlo, slong nhi, gr_ctx_t ctx)sourceThe default multiplication methods. _gr_poly_mullow_generic is classical multiplication. _gr_poly_mulmid_generic calls the ring's _gr_poly_mullow for the product up to \mathit{nhi} and discards the low part when that method is not the default, and uses classical multiplication otherwise. Generic algorithms compare the method table entries with these functions to decide whether fast multiplication or a native middle product is available.
Cite this page
The FLINT team, “_gr_poly_mullow_generic, _gr_poly_mulmid_generic (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_generic.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-mullow-generic,
author = {{The FLINT team}},
title = {{\_gr\_poly\_mullow\_generic, \_gr\_poly\_mulmid\_generic (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_mullow_generic.html},
note = {Generated 2026-10-20}
}