FLINT3.7.0-dev

_mpn_mod_vec_rand

Synopsis#include <flint/mpn_mod.h>
int _mpn_mod_vec_rand(nn_ptr res, flint_rand_t state, slong len, gr_ctx_t ctx)source

Sets the len elements at res to uniformly random residues with mpn_mod_rand.

Cite this page

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