_fmpq_poly_normalise
Synopsis
#include <flint/fmpq_poly.h>void _fmpq_poly_normalise(fmpq_poly_t poly)sourceSets the length of poly so that the top coefficient is non-zero. If all coefficients are zero, the length is set to zero. Note that this function does not guarantee the coprimality of the numerator polynomial and the integer denominator.
Cite this page
The FLINT team, “_fmpq_poly_normalise (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/_fmpq_poly_normalise.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-normalise,
author = {{The FLINT team}},
title = {{\_fmpq\_poly\_normalise (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/_fmpq_poly_normalise.html},
note = {Generated 2026-10-20}
}