Method: CsrMatrix::Functions#rank
- Defined in:
- lib/csrmatrix/functions.rb
#rank ⇒ Object
33 34 35 36 37 38 |
# File 'lib/csrmatrix/functions.rb', line 33 def rank() # identifies the rank of a matrix is_invariant? m = Matrix.rows(self.decompose) return m.rank() end |