Method: TwoDMatrix#square?
- Defined in:
- lib/csrmatrix.rb
#square? ⇒ Boolean
117 118 119 120 121 |
# File 'lib/csrmatrix.rb', line 117 def square? # returns whether or not the system is square is_invariant? return self.rows == self.columns end |