Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __invert__
Method
__invert__
numpy/lib/user_array.py:179–180 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
177
return
self._rc(self.array)
178
179
def
__invert__(self):
180
return
self._rc(invert(self.array))
181
182
def
_scalarfunc(self, func):
183
if
self.ndim == 0:
Callers
nothing calls this directly
Calls
1
_rc
Method · 0.95
Tested by
no test coverage detected