FLINT3.7.0-dev

fmpz_poly_get_coeff_ptr

Synopsis#include <flint/fmpz_poly.h>
fmpz * fmpz_poly_get_coeff_ptr(const fmpz_poly_t poly, slong n)source

Returns 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).