'x.__imul__(y) <=> x*=y'

def __imul__(self, other):

    if (not self.writable):
        raise ValueError('trying    to    multiply    to    a    readonly    NDArray')
    if isinstance(other, NDArray):
        return 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))))
