def __rmul__(self, other):
		"""Multiply other*self

		This is only called if other.__add__ is not defined, so assume that
		other is a scalar.
		"""
		if not self.is_scalar_element(other):
			raise TypeError("Cannot right-multiply by %s" % type(other))
		return self.scalar_multiply(other)
Multiply other*self

		This is only called if other.__add__ is not defined, so assume that
		other is a scalar.
		
recipes/Python/189971_Basic_Linear_Algebra_Matrix/recipe-189971.py