Method: TwoDMatrix#==

Defined in:
lib/csrmatrix.rb

#==(o) ⇒ Object

equals override for matrix operations



92
93
94
95
96
97
# File 'lib/csrmatrix.rb', line 92

def ==(o)
  # equals overide to check if object o equals self
  # pre   o, self
  # post  true if o is_a csrmatrix and o == self
  o.class == self.class && o.state == state
end