MCPcopy
hub / github.com/numpy/numpy / __add__

Method __add__

numpy/ma/core.py:4306–4313  ·  view source on GitHub ↗

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

(self, other)

Source from the content-addressed store, hash-verified

4304 return self._comparison(other, operator.gt)
4305
4306 def __add__(self, other):
4307 """
4308 Add self to other, and return a new masked array.
4309
4310 """
4311 if self._delegate_binop(other):
4312 return NotImplemented
4313 return add(self, other)
4314
4315 def __radd__(self, other):
4316 """

Callers

nothing calls this directly

Calls 2

_delegate_binopMethod · 0.95
addFunction · 0.85

Tested by

no test coverage detected