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

◆ rowReducedEchelonForm() [6/6]

template<typename Mat>
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.

175{
176 (void) A;
177 (void) result_rref;
178 throw exc::engine_error(
179 "'rowReducedEchelonForm' not implemented for this kind of matrix over "
180 "this ring");
181}

Referenced by MutableMat< Mat >::rowReducedEchelonForm().