gr_mat_randtest
Synopsis
#include <flint/gr_mat.h>int gr_mat_randtest(gr_mat_t res, flint_rand_t state, gr_ctx_t ctx)sourceSets res to a random matrix with a nonuniform distribution meant for testing (sparse matrices and special values are favoured).
Cite this page
The FLINT team, “gr_mat_randtest (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_randtest.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-randtest,
author = {{The FLINT team}},
title = {{gr\_mat\_randtest (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_randtest.html},
note = {Generated 2026-10-20}
}