= private = protected
coerce(other)
FIXME: describe #coerce.
# File lib/matrix.rb, line 809 def coerce(other) case other when Numeric return Scalar.new(other), self else raise TypeError, "#{self.class} can't be coerced into #{other.class}" end end