FLINT3.7.0-dev

gr_poly_coeff_ptr, gr_poly_coeff_srcptr

Synopsis#include <flint/gr_poly.h>
gr_ptr gr_poly_coeff_ptr(gr_poly_t poly, slong i, gr_ctx_t ctx)source
gr_srcptr gr_poly_coeff_srcptr(const gr_poly_t poly, slong i, gr_ctx_t ctx)source

Returns a pointer to the coefficient of x^i. The index must be less than the allocated size; coefficients at indices from length on are initialised elements but not part of the polynomial.

Cite this page

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