FLINT3.7.0-dev

_nmod_poly_mulmod_precond, nmod_poly_mulmod_precond

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_mulmod_precond(nn_ptr res, const nmod_poly_mulmod_precond_t precond, nn_srcptr b, slong blen, nmod_t mod)source
void nmod_poly_mulmod_precond(nmod_poly_t res, const nmod_poly_mulmod_precond_t precond, const nmod_poly_t b)source

Set res to ab mod dab \bmod d for the aa and dd of precond. Require bb reduced modulo dd. The underscore version requires alen,blen≥1\mathit{alen}, \mathit{blen} \ge 1, writes deg⁡d\deg d coefficients (zero-padded) and does not allow res to overlap bb, aa or dd. The non-underscore version allows res to be bb, but not aa.

Guides#

Cite this page

The FLINT team, “_nmod_poly_mulmod_precond, nmod_poly_mulmod_precond (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/_nmod_poly_mulmod_precond.html (generated 2026-11-02).