FLINT3.7.0-dev

fq_ctx_struct, fq_ctx_t

Synopsis#include <flint/fq.h>
fq_ctx_struct
fq_ctx_t

A finite field context. It holds an fmpz_mod_ctx_t for pp (ctxp), the defining polynomial ff 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 ff and their exponents (a, j, len, used for sparse reduction), a flag sparse_modulus set if ff has at most five nonzero terms, a flag is_conway set if ff 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).