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

Method __rmul__

numpy/ma/core.py:4250–4257  ·  view source on GitHub ↗

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

(self, other)

Source from the content-addressed store, hash-verified

4248 return multiply(self, other)
4249
4250 def __rmul__(self, other):
4251 """
4252 Multiply other by self, and return a new masked array.
4253
4254 """
4255 # In analogy with __rsub__ and __rdiv__, use original order:
4256 # we get here from `other * self`.
4257 return multiply(other, self)
4258
4259 def __div__(self, other):
4260 """

Callers

nothing calls this directly

Calls 1

multiplyFunction · 0.50

Tested by

no test coverage detected