_gr_poly_mulmid, gr_poly_mulmid
Synopsis
#include <flint/gr_poly.h>int _gr_poly_mulmid(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, slong nlo, slong nhi, gr_ctx_t ctx)sourceint gr_poly_mulmid(gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, slong nlo, slong nhi, gr_ctx_t ctx)sourceSets res to the middle product: the coefficients of x^{\mathit{nlo}}, \ldots, x^{\mathit{nhi} - 1} of the product, shifted down by \mathit{nlo}. The underscore version requires positive lengths and 0 \le \mathit{nlo} < \mathit{nhi} \le \mathit{len1} + \mathit{len2} - 1, writes \mathit{nhi} - \mathit{nlo} coefficients and does not allow aliasing. It calls the ring method GR_METHOD_POLY_MULMID; see Middle products and the transposition principle.
Cite this page
The FLINT team, “_gr_poly_mulmid, gr_poly_mulmid (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_poly_mulmid.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-mulmid,
author = {{The FLINT team}},
title = {{\_gr\_poly\_mulmid, gr\_poly\_mulmid (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_mulmid.html},
note = {Generated 2026-10-20}
}