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

◆ rankProfile() [5/5]

template<typename Mat>
M2_arrayintOrNull MatrixOps::rankProfile ( const Mat & A,
bool row_profile )

Returns either the row or column rank profile of A.

if row_profile is true, then row profile is computed, otherwise the column profile is computed.

The return value is an ascending sequence of non-negative integers with an entry a occurring iff the submatrix of A of the first (a-1) rows (resp columns) has lower rank than the submatrix of the first a rows (resp columns).

Notice that if the matrix is non-zero and the first row is non-zero, then the first entry will be 0.

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

269{
270 (void) A;
271 (void) row_profile;
272 throw exc::engine_error(
273 "'rankProfile' not implemented for this kind of matrix over this ring");
274}

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