FLINT3.7.0-dev

fq_nmod_mat_randops

Synopsis#include <flint/fq_nmod_mat.h>
void fq_nmod_mat_randops(fq_nmod_mat_t mat, flint_rand_t state, slong count, const fq_nmod_ctx_t ctx)

Applies count random elementary row or column operations (additions or subtractions of a row or column to another) to mat. This preserves the rank and, for square matrices, the determinant.

Generated from the same template as fq_mat_randops, whose documentation has the details.

Cite this page

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