# File lib/matrix.rb, line 431 def hash value = 0 for row in @rows for e in row value ^= e.hash end end return value end