FLINT3.7.0-dev

fmpz_poly_mat_rref

Synopsis#include <flint/fmpz_poly_mat.h>
slong fmpz_poly_mat_rref(fmpz_poly_mat_t B, fmpz_poly_t den, const fmpz_poly_mat_t A)source

Sets (B, den) to the reduced row echelon form of A over \mathbb{Q}(x) and returns the rank: B/\mathit{den} is in reduced row echelon form, with den on the pivot positions. Uses fraction-free elimination followed by fraction-free back substitution. B may be A.

Cite this page

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