MCPcopy Index your code
hub / github.com/numpy/numpy / __sub__

Method __sub__

numpy/ma/core.py:4324–4331  ·  view source on GitHub ↗

Subtract other from self, and return a new masked array.

(self, other)

Source from the content-addressed store, hash-verified

4322 return add(other, self)
4323
4324 def __sub__(self, other):
4325 """
4326 Subtract other from self, and return a new masked array.
4327
4328 """
4329 if self._delegate_binop(other):
4330 return NotImplemented
4331 return subtract(self, other)
4332
4333 def __rsub__(self, other):
4334 """

Callers

nothing calls this directly

Calls 1

_delegate_binopMethod · 0.95

Tested by

no test coverage detected