parameters: (self, other)
docstring: x.__imul__(y) <=> x*=y
docstring_summary: x.__imul__(y) <=> x*=y
docstring_tokens: x . __imul__ ( y ) < = > x * = y
function: def __imul__(self, other):
          """x.__imul__(y) <=> x*=y """
          if not self.writable:
              raise ValueError('trying to multiply to a readonly NDArray')
          if isinstance(other, NDArray):
              return op.broadcast_mul(self, other, out=self)
          elif isinstance(other, numeric_types):
              return _internal._mul_scalar(self, float(other), out=self)
          else:
              raise TypeError('type %s not supported' % str(type(other)))
function_tokens: def __imul__ ( self , other ) : if not self . writable : raise ValueError ( 'trying to multiply to a readonly NDArray' ) if isinstance ( other , NDArray ) : return op . broadcast_mul ( self , other , out = self ) elif isinstance ( other , numeric_types ) : return _internal . _mul_scalar ( self , float ( other ) , out = self ) else : raise TypeError ( 'type %s not supported' % str ( type ( other ) ) )