gr_poly_struct, gr_poly_t
Synopsis
#include <flint/gr_poly.h>gr_poly_structgr_poly_tA polynomial over the ring given by a gr_ctx_t. The structure has the fields coeffs (a pointer to alloc elements of the ring), alloc and length; the coefficient of x^i is the element at index i of coeffs. A gr_poly_t is an array of one gr_poly_struct, so it is passed by reference.
Guides#
Cite this page
The FLINT team, “gr_poly_struct, gr_poly_t (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_struct.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-struct,
author = {{The FLINT team}},
title = {{gr\_poly\_struct, gr\_poly\_t (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/gr_poly_struct.html},
note = {Generated 2026-10-20}
}