gr_mat_rref, gr_mat_rref_lu, gr_mat_rref_fflu
Synopsis
#include <flint/gr_mat.h>Set R to the reduced row echelon form of A (pivots equal to 1, zeros above and below them) and rank to the rank, using LU decomposition or fraction-free LU decomposition followed by back substitution. This requires a field, or at least that all pivots are invertible. gr_mat_rref uses the LU version.
Guides#
- Prime and composite moduli (
fmpz_mod_mat)
Cite this page
The FLINT team, “gr_mat_rref, gr_mat_rref_lu, gr_mat_rref_fflu (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_rref.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-rref,
author = {{The FLINT team}},
title = {{gr\_mat\_rref, gr\_mat\_rref\_lu, gr\_mat\_rref\_fflu (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_rref.html},
note = {Generated 2026-10-20}
}