FLINT3.7.0-dev

FMPZ_VEC_NORM

Synopsis#include <flint/fmpz_vec.h>
FMPZ_VEC_NORM(vec, i)source

Decreases the variable i while vec[i - 1] is zero, that is, strips zero entries from the end of a vector of length i. Used to normalise polynomial lengths.

Cite this page

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