FLINT3.7.0-dev

fmpq_poly_get_coeff_fmpz

Synopsis#include <flint/fmpq_poly.h>
void fmpq_poly_get_coeff_fmpz(fmpz_t x, const fmpq_poly_t poly, slong n)source

Sets x to the coefficient of x^n in the numerator of poly (zero if n is at least the length). The coefficient of poly itself is x divided by the denominator.

Cite this page

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