gr_ctx_init_fmpz_mod_mpoly_q
Synopsis
#include <flint/gr.h>void gr_ctx_init_fmpz_mod_mpoly_q(gr_ctx_t ctx, slong nvars, const ordering_t ord, const fmpz_t mod)sourceInitialises ctx to the field \mathbb{F}_p(x_1, \ldots, x_n) of rational functions over \mathbb{F}_p with p = mod, with elements of type fmpz_mod_mpoly_q_struct. The modulus must be prime; this is not checked and a composite modulus gives undefined behaviour. Declared only if fmpz_mod_mpoly_q.h is included before gr.h.
Cite this page
The FLINT team, “gr_ctx_init_fmpz_mod_mpoly_q (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_mod_mpoly_q.html (generated 2026-10-20).
@misc{flint-doc-gr-domains-gr-ctx-init-fmpz-mod-mpoly-q,
author = {{The FLINT team}},
title = {{gr\_ctx\_init\_fmpz\_mod\_mpoly\_q (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_mod_mpoly_q.html},
note = {Generated 2026-10-20}
}