gr_ctx_init_fmpz_mpoly, gr_ctx_init_fmpq_mpoly, gr_ctx_init_gr_mpoly
Synopsis
#include <flint/gr.h>void gr_ctx_init_fmpz_mpoly(gr_ctx_t ctx, slong nvars, const ordering_t ord)sourcevoid gr_ctx_init_fmpq_mpoly(gr_ctx_t ctx, slong nvars, const ordering_t ord)sourcevoid gr_ctx_init_gr_mpoly(gr_ctx_t ctx, gr_ctx_t base_ring, slong nvars, const ordering_t ord)sourceInitialise ctx to the ring of sparse multivariate polynomials in nvars variables with the monomial ordering ord, over \mathbb{Z} (fmpz_mpoly_struct elements), over \mathbb{Q} (fmpq_mpoly_struct), or over base_ring (gr_mpoly_struct, see gr_mpoly). The variables are named x1, x2, ... by default. Declared only if mpoly.h is included before gr.h.
Cite this page
The FLINT team, “gr_ctx_init_fmpz_mpoly, gr_ctx_init_fmpq_mpoly, gr_ctx_init_gr_mpoly (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_mpoly.html (generated 2026-10-20).
@misc{flint-doc-gr-domains-gr-ctx-init-fmpz-mpoly,
author = {{The FLINT team}},
title = {{gr\_ctx\_init\_fmpz\_mpoly, gr\_ctx\_init\_fmpq\_mpoly, gr\_ctx\_init\_gr\_mpoly (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_domains/gr_ctx_init_fmpz_mpoly.html},
note = {Generated 2026-10-20}
}