method
*
*(other)
public
Hide source
# File lib/matrix.rb, line 912 def *(other) case other when Numeric Scalar.new(@value * other) when Vector, Matrix other.collect{|e| @value * e} else x, y = other.coerce(self) x * y end end