FLINT3.7.0-dev

_fq_vec_randtest

Synopsis#include <flint/fq_vec.h>
void _fq_vec_randtest(fq_struct * f, flint_rand_t state, slong len, const fq_ctx_t ctx)

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

Cite this page

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