MCPcopy Create free account
hub / github.com/numpy/numpy / __mul__

Method __mul__

numpy/ma/core.py:4244–4248  ·  view source on GitHub ↗

Multiply self by other, and return a new masked array.

(self, other)

Source from the content-addressed store, hash-verified

4242 return subtract(other, self)
4243
4244 def __mul__(self, other):
4245 "Multiply self by other, and return a new masked array."
4246 if self._delegate_binop(other):
4247 return NotImplemented
4248 return multiply(self, other)
4249
4250 def __rmul__(self, other):
4251 """

Callers

nothing calls this directly

Calls 2

_delegate_binopMethod · 0.95
multiplyFunction · 0.50

Tested by

no test coverage detected