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

Method __rsub__

numpy/ma/core.py:4237–4242  ·  view source on GitHub ↗

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

(self, other)

Source from the content-addressed store, hash-verified

4235 return subtract(self, other)
4236
4237 def __rsub__(self, other):
4238 """
4239 Subtract self from other, and return a new masked array.
4240
4241 """
4242 return subtract(other, self)
4243
4244 def __mul__(self, other):
4245 "Multiply self by other, and return a new masked array."

Callers

nothing calls this directly

Calls 1

subtractFunction · 0.85

Tested by

no test coverage detected