= private = protected
/(other)
Matrix division (multiplication by the inverse).
Matrix[[7,6], [3,9]] / Matrix[[2,9], [3,1]] => -7 1 -3 -6
# File lib/matrix.rb, line 549 def /(other) case other when Numeric rows = @rows.collect {|row| row.collect {|e| e / other } } return Matrix.rows(rows, false) when Matrix return self * other.inverse else x, y = other.coerce(self) return x / y end end