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 756 def empty? column_count == 0 || row_count == 0 end