FLINT3.7.0-dev

fq_nmod_mat_rref

Synopsis#include <flint/fq_nmod_mat.h>
slong fq_nmod_mat_rref(fq_nmod_mat_t B, const fq_nmod_mat_t A, const fq_nmod_ctx_t ctx)

Sets BB to the reduced row echelon form of AA and returns the rank of AA. The form is computed from an LU decomposition. BB may be aliased with AA. If AA is zero, BB is set to zero and 0 is returned.

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

Cite this page

The FLINT team, “fq_nmod_mat_rref (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_rref.html (generated 2026-11-02).