FLINT3.7.0-dev

fq_zech_ctx_struct, fq_zech_ctx_t

Synopsis#include <flint/fq_zech.h>
fq_zech_ctx_struct
fq_zech_ctx_t

A Zech logarithm context: q - 1 (qm1), (q - 1)/2 (qm1o2, 0 if p = 2; the logarithm of -1), (q - 1)/(p - 1) (qm1opm1), p with a floating-point inverse, the norm of the generator (prime_root, a primitive root modulo p), the tables zech_log_table (the Zech logarithms Z(k)), prime_field_table (the logarithms of 1, \ldots, p - 1) and eval_table (for each k, the integer \sum_i a_i p^i encoding the coefficients a_i of g^k), a pointer to the underlying fq_nmod context, a flag owns_fq_nmod_ctx and the flag is_conway.

Cite this page

The FLINT team, “fq_zech_ctx_struct, fq_zech_ctx_t (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_struct.html (generated 2026-10-20).