fmpq_poly_numref, fmpq_poly_denref
Synopsis
#include <flint/fmpq_poly.h>fmpq_poly_numref(poly)sourcefmpq_poly_denref(poly)sourceThe 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).
@misc{flint-doc-fmpq-poly-fmpq-poly-numref,
author = {{The FLINT team}},
title = {{fmpq\_poly\_numref, fmpq\_poly\_denref (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_numref.html},
note = {Generated 2026-10-20}
}