fmpz_poly_get_coeff_ptr
Synopsis
#include <flint/fmpz_poly.h>fmpz * fmpz_poly_get_coeff_ptr(const fmpz_poly_t poly, slong n)sourceReturns a pointer to the coefficient of x^n, or NULL if n is at least the length. The coefficient can be read or changed with the functions of fmpz; changing the leading coefficient to zero requires a call to _fmpz_poly_normalise.
Guides#
Cite this page
The FLINT team, “fmpz_poly_get_coeff_ptr (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_ptr.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-get-coeff-ptr,
author = {{The FLINT team}},
title = {{fmpz\_poly\_get\_coeff\_ptr (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_ptr.html},
note = {Generated 2026-10-20}
}