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)sourceslong fmpz_poly_get_coeff_si(const fmpz_poly_t poly, slong n)sourceulong fmpz_poly_get_coeff_ui(const fmpz_poly_t poly, slong n)sourceReturn (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).
@misc{flint-doc-fmpz-poly-fmpz-poly-get-coeff-fmpz,
author = {{The FLINT team}},
title = {{fmpz\_poly\_get\_coeff\_fmpz, fmpz\_poly\_get\_coeff\_si, fmpz\_poly\_get\_coeff\_ui (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/fmpz_poly_get_coeff_fmpz.html},
note = {Generated 2026-10-20}
}