Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rowReducedEchelonForm() [3/6]

size_t MatrixOps::rowReducedEchelonForm ( const DMatQQ & A,
DMatQQ & result_rref )
inline

Definition at line 1082 of file mat-linalg.hpp.

1083{
1084 FlintQQMat A1(A);
1085 long rank = fmpq_mat_rref(A1.value(), A1.value());
1086 A1.toDMat(result_rref);
1087 return rank;
1088}
RAII wrapper around FLINT's fmpq_mat_t for translating dense QQ-coefficient matrices between the engi...
size_t rank(const Mat &A)
the rank of a matrix

References rank(), FlintQQMat::toDMat(), and FlintQQMat::value().