FLINT3.7.0-dev

gr_ctx_init_fmpz_poly, gr_ctx_init_fmpq_poly

Synopsis#include <flint/gr.h>
void gr_ctx_init_fmpz_poly(gr_ctx_t ctx)source
void gr_ctx_init_fmpq_poly(gr_ctx_t ctx)source

Initialise ctx to the ring of univariate polynomials \mathbb{Z}[x], respectively \mathbb{Q}[x], with elements of type fmpz_poly_struct and fmpq_poly_struct, using the arithmetic of fmpz_poly and fmpq_poly.

Guides#

Cite this page

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