FLINT3.7.0-dev

_nmod_poly_mul_KS, nmod_poly_mul_KS

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_mul_KS(nn_ptr out, nn_srcptr in1, slong len1, nn_srcptr in2, slong len2, nmod_t mod)source
void nmod_poly_mul_KS(nmod_poly_t res, const nmod_poly_t poly1, const nmod_poly_t poly2)source

Set res to the product by Kronecker substitution. The underscore version requires \mathit{len1}, \mathit{len2} \ge 1 in either order.

The field width is the number of bits of (n - 1)^2 \min(\mathit{len1}, \mathit{len2}), a bound for the coefficients of the integer product, so it can exceed one word; it is at most three words.

Cite this page

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