FLINT3.7.0-dev

_fmpq_poly_canonicalise

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_canonicalise(fmpz * poly, fmpz_t den, slong len)source

Puts (poly, den) of length len into canonical form.

It is assumed that the array poly contains a non-zero entry in position len - 1 whenever len > 0. Assumes that den is non-zero.

Cite this page

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