FLINT3.7.0-dev

n_fq_randtest_not_zero

Synopsis#include <flint/n_poly.h>
void n_fq_randtest_not_zero(ulong * a, flint_rand_t state, const fq_nmod_ctx_t ctx)source

Sets a to a random nonzero element.

Cite this page

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