fq_ctx_struct, fq_ctx_t
Synopsis
#include <flint/fq.h>fq_ctx_structfq_ctx_tA finite field context. It holds an fmpz_mod_ctx_t for (ctxp), the defining polynomial as an fmpz_mod_poly_t (modulus), the power series inverse of its reversal (inv, used for reduction by Newton division), the nonzero coefficients of the monic multiple of and their exponents (a, j, len, used for sparse reduction), a flag sparse_modulus set if has at most five nonzero terms, a flag is_conway set if is a Conway polynomial from FLINT's table, and the name of the generator (var). fq_ctx_t is an array of one structure.
Cite this page
The FLINT team, “fq_ctx_struct, fq_ctx_t (fq.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq/fq_ctx_struct.html (generated 2026-11-02).
@misc{flint-doc-fq-fq-ctx-struct,
author = {{The FLINT team}},
title = {{fq\_ctx\_struct, fq\_ctx\_t (fq.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq/fq_ctx_struct.html},
note = {Generated 2026-11-02}
}