Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __iadd__
Method
__iadd__
numpy/lib/user_array.py:65–67 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
63
__radd__ = __add__
64
65
def
__iadd__(self, other):
66
add(self.array, other, self.array)
67
return
self
68
69
def
__sub__(self, other):
70
return
self._rc(self.array - asarray(other))
Callers
nothing calls this directly
Calls
1
add
Function · 0.90
Tested by
no test coverage detected