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 p (ctxp), the defining polynomial f 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 f and their exponents (a, j, len, used for sparse reduction), a flag sparse_modulus set if f has at most five nonzero terms, a flag is_conway set if f 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-10-20).
@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-10-20}
}