FLINT3.7.0-dev

fq_zech_ctx_init_ui

Synopsis#include <flint/fq_zech.h>
void fq_zech_ctx_init_ui(fq_zech_ctx_t ctx, ulong p, slong d, const char * var)source

Initialises ctx as a Zech context for \mathbb{F}_{p^d}, with the generator printed as var, defined by the Conway polynomial if it is in FLINT's table and by a random primitive polynomial otherwise. Requires p^d < 2^{\mathtt{FLINT\_BITS}} (otherwise FLINT_ERROR is thrown); the tables need 2q + p words.

Cite this page

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