FLINT3.7.0-dev

nmod_poly_mat_rand, nmod_poly_mat_randtest

Synopsis#include <flint/nmod_poly_mat.h>
void nmod_poly_mat_rand(nmod_poly_mat_t A, flint_rand_t state, slong len)source
void nmod_poly_mat_randtest(nmod_poly_mat_t mat, flint_rand_t state, slong len)source

Sets each entry to a random polynomial of length up to len, with uniformly random coefficients (nmod_poly_rand), respectively with a bias towards special values (nmod_poly_randtest).

Cite this page

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