FLINT3.7.0-dev

fmpq_poly_struct, fmpq_poly_t

Synopsis#include <flint/fmpq_poly.h>
fmpq_poly_struct
fmpq_poly_t

A polynomial over \mathbb{Q}. The structure has the fields coeffs (an array of alloc integer coefficients of the numerator), alloc, length and den (an fmpz_t holding the denominator). An fmpq_poly_t is an array of one fmpq_poly_struct, so it is passed by reference.

Guides#

Cite this page

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