Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ __rsub__
Method
__rsub__
numpy/lib/_user_array_impl.py:109–110 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
107
return
self._rc(self.array - asarray(other))
108
109
def
__rsub__(self, other):
110
return
self._rc(asarray(other) - self.array)
111
112
def
__isub__(self, other):
113
subtract(self.array, other, self.array)
Callers
nothing calls this directly
Calls
2
_rc
Method · 0.95
asarray
Function · 0.90
Tested by
no test coverage detected