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

Method __add__

numpy/ma/core.py:4210–4217  ·  view source on GitHub ↗

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

(self, other)

Source from the content-addressed store, hash-verified

4208 return self._comparison(other, operator.gt)
4209
4210 def __add__(self, other):
4211 """
4212 Add self to other, and return a new masked array.
4213
4214 """
4215 if self._delegate_binop(other):
4216 return NotImplemented
4217 return add(self, other)
4218
4219 def __radd__(self, other):
4220 """

Callers

nothing calls this directly

Calls 2

_delegate_binopMethod · 0.95
addFunction · 0.50

Tested by

no test coverage detected