FLINT3.7.0-dev

_nmod_vec_reduce_lazy

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

The same as _nmod_vec_reduce for n<2FLINT_BITS−2n < 2^{\mathtt{FLINT\_BITS} - 2}, except that the entries of res are only in [0,2n)[0, 2n): the vector kernels skip their last correction (Lazy variants).

Guides#

Cite this page

The FLINT team, “_nmod_vec_reduce_lazy (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_lazy.html (generated 2026-11-20).