MCPcopy Create free account
hub / github.com/numpy/numpy / __pow__

Method __pow__

numpy/lib/user_array.py:116–117  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

114 self._rc(remainder(other, self.array)))
115
116 def __pow__(self, other):
117 return self._rc(power(self.array, asarray(other)))
118
119 def __rpow__(self, other):
120 return self._rc(power(asarray(other), self.array))

Callers

nothing calls this directly

Calls 3

_rcMethod · 0.95
powerFunction · 0.90
asarrayFunction · 0.90

Tested by

no test coverage detected