Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ __pow__
Method
__pow__
numpy/lib/_user_array_impl.py:143–144 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
141
self._rc(remainder(other, self.array)))
142
143
def
__pow__(self, other):
144
return
self._rc(power(self.array, asarray(other)))
145
146
def
__rpow__(self, other):
147
return
self._rc(power(asarray(other), self.array))
Callers
nothing calls this directly
Calls
3
_rc
Method · 0.95
asarray
Function · 0.90
power
Function · 0.70
Tested by
no test coverage detected