FLINT3.7.0-dev

_nmod_vec_reduce

Synopsis#include <flint/nmod_vec.h>
void _nmod_vec_reduce(nn_ptr res, nn_srcptr vec, slong len, nmod_t mod)source

Sets each entry of res to the corresponding entry of vec reduced modulo n. The entries of vec may be any words.

Cite this page

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