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

◆ rank() [5/5]

template<typename Mat>
size_t MatrixOps::rank ( const Mat & A)

the rank of a matrix

throws an engine_error for ring/matrix types where the function is not implemented. This version is deterministic.

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

120{
121 (void) A;
122 throw exc::engine_error(
123 "'rank' not implemented for this kind of matrix over this ring");
124 return 0;
125}

Referenced by MutableMat< Mat >::rank(), rowReducedEchelonForm(), rowReducedEchelonForm(), rowReducedEchelonForm(), and rowReducedEchelonForm().