_nmod_vec_rand
Synopsis
#include <flint/nmod_vec.h>void _nmod_vec_rand(nn_ptr vec, flint_rand_t state, slong len, nmod_t mod)sourceSets the entries of vec to integers chosen uniformly at random in [0, n).
Cite this page
The FLINT team, “_nmod_vec_rand (nmod_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_vec/_nmod_vec_rand.html (generated 2026-10-20).
@misc{flint-doc-nmod-vec-nmod-vec-rand,
author = {{The FLINT team}},
title = {{\_nmod\_vec\_rand (nmod\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_vec/_nmod_vec_rand.html},
note = {Generated 2026-10-20}
}