gives the rank of the matrix m.

Details and OptionsDetails and Options

  • MatrixRank works on both numerical and symbolic matrices.
  • The rank of a matrix is the number of linearly independent rows or columns.
  • MatrixRank[m, Modulus->n] finds the rank for integer matrices modulo n.
  • MatrixRank[m, ZeroTest->test] evaluates to determine whether matrix elements are zero. The default setting is ZeroTest->Automatic.
  • MatrixRank[m, Tolerance->t] gives the minimum rank with each element in a numerical matrix assumed to be correct only to within tolerance t.
  • MatrixRank works with sparse arrays.
New in 5 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »