empty?()
Returns true if this is an empty matrix, i.e. if the number of rows or the number of columns is 0.
# File lib/matrix.rb, line 455 def empty? column_size == 0 || row_size == 0 end