FLINT3.7.0-dev

fmpz_poly_get_coeff_fmpz, fmpz_poly_get_coeff_si, fmpz_poly_get_coeff_ui

Synopsis#include <flint/fmpz_poly.h>
void fmpz_poly_get_coeff_fmpz(fmpz_t x, const fmpz_poly_t poly, slong n)source
slong fmpz_poly_get_coeff_si(const fmpz_poly_t poly, slong n)source
ulong fmpz_poly_get_coeff_ui(const fmpz_poly_t poly, slong n)source

Return (or set x to) the coefficient of x^n in poly, which is zero if n is at least the length. The si and ui versions return the result of fmpz_get_si or fmpz_get_ui and are only meaningful when the coefficient fits.

Cite this page

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