gr_ctx_init_fmpz_mpoly_q_factored
Synopsis
#include <flint/gr.h>void gr_ctx_init_fmpz_mpoly_q_factored(gr_ctx_t ctx, slong nvars, const ordering_t ord)sourceInitialises ctx to the same field \mathbb{Q}(x_1, \ldots, x_n), with elements of type fmpz_mpoly_q_factored_struct in which denominators are kept fully factored: addition and multiplication then avoid polynomial GCDs, while division requires factorisation. Elements can be converted to and from the contexts of gr_ctx_init_fmpz_mpoly_q and gr_ctx_init_fmpz_mpoly with the same number of variables and ordering using gr_set_other.
Cite this page
The FLINT team, “gr_ctx_init_fmpz_mpoly_q_factored (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_q_factored.html (generated 2026-10-20).
@misc{flint-doc-gr-domains-gr-ctx-init-fmpz-mpoly-q-factored,
author = {{The FLINT team}},
title = {{gr\_ctx\_init\_fmpz\_mpoly\_q\_factored (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_q_factored.html},
note = {Generated 2026-10-20}
}