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

Method __radd__

numpy/ma/core.py:4219–4226  ·  view source on GitHub ↗

Add other to self, and return a new masked array.

(self, other)

Source from the content-addressed store, hash-verified

4217 return add(self, other)
4218
4219 def __radd__(self, other):
4220 """
4221 Add other to self, and return a new masked array.
4222
4223 """
4224 # In analogy with __rsub__ and __rdiv__, use original order:
4225 # we get here from `other + self`.
4226 return add(other, self)
4227
4228 def __sub__(self, other):
4229 """

Callers

nothing calls this directly

Calls 1

addFunction · 0.50

Tested by

no test coverage detected