fmpz_poly_q_canonicalise
Synopsis
#include <flint/fmpz_poly_q.h>void fmpz_poly_q_canonicalise(fmpz_poly_q_t rop)sourceBrings rop into canonical form by dividing the numerator and the denominator by their gcd in \mathbb{Z}[x] and making the leading coefficient of the denominator positive. The denominator must be nonzero; a zero denominator causes an exception (FLINT_ERROR).
Guides#
Cite this page
The FLINT team, “fmpz_poly_q_canonicalise (fmpz_poly_q.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly_q/fmpz_poly_q_canonicalise.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-q-fmpz-poly-q-canonicalise,
author = {{The FLINT team}},
title = {{fmpz\_poly\_q\_canonicalise (fmpz\_poly\_q.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly_q/fmpz_poly_q_canonicalise.html},
note = {Generated 2026-10-20}
}