FLINT3.7.0-dev

_fq_nmod_poly_normalise, _fq_nmod_poly_normalise2

Synopsis#include <flint/fq_nmod_poly.h>
void _fq_nmod_poly_normalise(fq_nmod_poly_t poly, const fq_nmod_ctx_t ctx)
void _fq_nmod_poly_normalise2(const fq_nmod_struct * poly, slong * length, const fq_nmod_ctx_t ctx)

Decrease the length of poly, respectively the variable *length of the array (poly, *length), until the leading coefficient is nonzero or the length is zero.

Generated from the same template as _fq_poly_normalise, whose documentation has the details.

Cite this page

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