fq_zech_mat_randtril, fq_zech_mat_randtriu
Synopsis
#include <flint/fq_zech_mat.h>void fq_zech_mat_randtril(fq_zech_mat_t mat, flint_rand_t state, int unit, const fq_zech_ctx_t ctx)void fq_zech_mat_randtriu(fq_zech_mat_t mat, flint_rand_t state, int unit, const fq_zech_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.
Generated from the same template as fq_mat_randtril, whose documentation has the details.
Cite this page
The FLINT team, “fq_zech_mat_randtril, fq_zech_mat_randtriu (fq_zech_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_mat/fq_zech_mat_randtril.html (generated 2026-10-20).
@misc{flint-doc-fq-zech-mat-fq-zech-mat-randtril,
author = {{The FLINT team}},
title = {{fq\_zech\_mat\_randtril, fq\_zech\_mat\_randtriu (fq\_zech\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_zech_mat/fq_zech_mat_randtril.html},
note = {Generated 2026-10-20}
}