|
Macaulay2 Engine
|
| size_t MatrixOps::rowReducedEchelonForm | ( | const Mat & | A, |
| Mat & | result_rref ) |
the row reduced echelon form of a matrix over a field, or ZZ.
result_rref should be a Mat, with the same ring/type as the input matrix A. result_rref does not need to be the same size as A, it will be resized if needed. returns the rank of A.
throws an engine_error for ring/matrix types where the function is not implemented.
Definition at line 174 of file mat-linalg.hpp.
Referenced by MutableMat< Mat >::rowReducedEchelonForm().