fq_zech_ctx_init_randtest, fq_zech_ctx_init_randtest_reducible
Synopsis
#include <flint/fq_zech.h>void fq_zech_ctx_init_randtest(fq_zech_ctx_t ctx, flint_rand_t state, int type)sourcevoid fq_zech_ctx_init_randtest_reducible(fq_zech_ctx_t ctx, flint_rand_t state, int type)sourceInitialise ctx as a random field for testing, with a random primitive modulus: primes of up to 5 bits for type 0 and 1, of up to 4 bits for 2 and 3, and degree at most 4 for even and 3 for odd type. The reducible version is the same, since a Zech context needs an irreducible (indeed primitive) modulus.
Cite this page
The FLINT team, “fq_zech_ctx_init_randtest, fq_zech_ctx_init_randtest_reducible (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_randtest.html (generated 2026-10-20).
@misc{flint-doc-fq-zech-fq-zech-ctx-init-randtest,
author = {{The FLINT team}},
title = {{fq\_zech\_ctx\_init\_randtest, fq\_zech\_ctx\_init\_randtest\_reducible (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_randtest.html},
note = {Generated 2026-10-20}
}