FLINT3.7.0-dev

_fq_nmod_vec_randtest

Synopsis#include <flint/fq_nmod_vec.h>
void _fq_nmod_vec_randtest(fq_nmod_struct * f, flint_rand_t state, slong len, const fq_nmod_ctx_t ctx)

Sets the len elements of f to random elements for testing (with probability 1/2 most of them are zero).

Generated from the same template as _fq_vec_randtest, whose documentation has the details.

Cite this page

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