FLINT3.7.0-dev

_nmod_poly_KS2_reduce

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_KS2_reduce(nn_ptr res, slong s, nn_srcptr op, slong n, ulong w, nmod_t mod)source

Reduces n values of w \in \{1, 2, 3\} words each, stored consecutively in op, modulo n, writing them to res[0], res[s], ... with stride s.

Cite this page

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