fq_rand, fq_rand_not_zero
Synopsis
#include <flint/fq.h>void fq_rand(fq_t rop, flint_rand_t state, const fq_ctx_t ctx)sourcevoid fq_rand_not_zero(fq_t rop, flint_rand_t state, const fq_ctx_t ctx)sourceSet rop to a uniformly random element, respectively a uniformly random nonzero element.
Cite this page
The FLINT team, “fq_rand, fq_rand_not_zero (fq.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq/fq_rand.html (generated 2026-10-20).
@misc{flint-doc-fq-fq-rand,
author = {{The FLINT team}},
title = {{fq\_rand, fq\_rand\_not\_zero (fq.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq/fq_rand.html},
note = {Generated 2026-10-20}
}