rank() public

Returns the rank of the matrix. Beware that using Float values, with their usual lack of precision, can affect the value returned by this method. Use <a href="/ruby/Rational">Rational</a> values instead if this is important to you.

  Matrix[[7,6], [3,9]].rank
    => 2
Show source
Register or log in to add new notes.