FLINT3.7.0-dev

fq_nmod_ctx_init_ui

Synopsis#include <flint/fq_nmod.h>
void fq_nmod_ctx_init_ui(fq_nmod_ctx_t ctx, ulong prime, slong deg, const char * var)source

Initialises ctx as a context for \mathbb{F}_{p^d}, p = prime, d = deg \ge 1, with the generator printed as var. The defining polynomial is the Conway polynomial if (p, d) is in FLINT's table, and otherwise a polynomial with the least possible number of nonzero terms (nmod_poly_minimal_irreducible).

Guides#

Cite this page

The FLINT team, “fq_nmod_ctx_init_ui (fq_nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod/fq_nmod_ctx_init_ui.html (generated 2026-10-20).