_nmod_poly_mulmid_fft_small_repack
#include <flint/nmod_poly.h>int _nmod_poly_mulmid_fft_small_repack(nn_ptr z, nn_srcptr a, slong an, nn_srcptr b, slong bn, slong znlo, slong zn, nmod_t mod)sourceInternal helper of _nmod_poly_mulmid_fft_small for : if the coefficients are small enough, writes the coefficients of the product to z and returns 1; otherwise returns 0 without writing anything. The conditions on the arguments are those of _nmod_poly_mulmid_fft_small.
With and likewise, for or , the product computed modulo the prime has coefficients from which the coefficients of are read off, provided that and . These conditions are checked with the bound or, if that fails, with the Cauchy–Schwarz inequality applied to the even and odd parts.
The FLINT team, “_nmod_poly_mulmid_fft_small_repack (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/_nmod_poly_mulmid_fft_small_repack.html (generated 2026-11-02).
@misc{flint-doc-nmod-poly-nmod-poly-mulmid-fft-small-repack,
author = {{The FLINT team}},
title = {{\_nmod\_poly\_mulmid\_fft\_small\_repack (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/_nmod_poly_mulmid_fft_small_repack.html},
note = {Generated 2026-11-02}
}