FLINT3.7.0-dev

fmpq_poly_numref, fmpq_poly_denref

Synopsis#include <flint/fmpq_poly.h>
fmpq_poly_numref(poly)source
fmpq_poly_denref(poly)source

The numerator coefficient array (fmpz *, which may be NULL for a zero polynomial with no allocated space) and the denominator (fmpz_t) of poly, as macros returning (poly)->coeffs and (poly)->den. After modifying them, restore the canonical form with fmpq_poly_canonicalise.

Guides#

Cite this page

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