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)sourceInitialises 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).
@misc{flint-doc-fq-zech-fq-zech-ctx-init-ui,
author = {{The FLINT team}},
title = {{fq\_zech\_ctx\_init\_ui (fq\_zech.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_zech/fq_zech_ctx_init_ui.html},
note = {Generated 2026-10-20}
}