FLINT3.7.0-dev

NMOD_VEC_NORM

Synopsis#include <flint/nmod_vec.h>
NMOD_VEC_NORM(vec, i)source

Decreases the integer variable i while vec[i - 1] is zero, so that i becomes the length of vec with trailing zeros removed. Used to normalise polynomials.

Cite this page

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