_nmod_mat_rref
Synopsis
#include <flint/nmod_mat.h>slong _nmod_mat_rref(nmod_mat_t A, slong * pivots_nonpivots, slong * P)sourcePuts A in reduced row echelon form and returns the rank r, as nmod_mat_rref, and in addition stores in pivots_nonpivots (length the number of columns) the pivot columns followed by the other columns, and in P (length the number of rows) the row permutation of the LU decomposition used.
Cite this page
The FLINT team, “_nmod_mat_rref (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/_nmod_mat_rref.html (generated 2026-10-20).
@misc{flint-doc-nmod-mat-nmod-mat-rref,
author = {{The FLINT team}},
title = {{\_nmod\_mat\_rref (nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mat/_nmod_mat_rref.html},
note = {Generated 2026-10-20}
}