FLINT3.7.0-dev

ca_mat_rref_fflu, ca_mat_rref_lu, ca_mat_rref

Synopsis#include <flint/ca_mat.h>
int ca_mat_rref_fflu(slong * rank, ca_mat_t R, const ca_mat_t A, ca_ctx_t ctx)source
int ca_mat_rref_lu(slong * rank, ca_mat_t R, const ca_mat_t A, ca_ctx_t ctx)source
int ca_mat_rref(slong * rank, ca_mat_t R, const ca_mat_t A, ca_ctx_t ctx)source

Sets R to the reduced row echelon form of A, writes the rank to rank and returns 1; returns 0, with meaningless outputs, if the rank cannot be determined. The fflu version starts from a fraction-free LU decomposition, the lu version (a wrapper of gr_mat_rref_lu) from an ordinary one, and the default version is a wrapper of gr_mat_rref.

Cite this page

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