|
Macaulay2 Engine
|
| 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.
Referenced by MutableMat< Mat >::rankProfile().