fq_mat_randtril, fq_mat_randtriu
Synopsis
#include <flint/fq_mat.h>void fq_mat_randtril(fq_mat_t mat, flint_rand_t state, int unit, const fq_ctx_t ctx)void fq_mat_randtriu(fq_mat_t mat, flint_rand_t state, int unit, const fq_ctx_t ctx)Set mat to a random lower, respectively upper, triangular matrix, with ones on the diagonal if unit is nonzero and random nonzero diagonal entries otherwise.
Cite this page
The FLINT team, “fq_mat_randtril, fq_mat_randtriu (fq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_mat/fq_mat_randtril.html (generated 2026-10-20).
@misc{flint-doc-fq-mat-fq-mat-randtril,
author = {{The FLINT team}},
title = {{fq\_mat\_randtril, fq\_mat\_randtriu (fq\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_mat/fq_mat_randtril.html},
note = {Generated 2026-10-20}
}