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