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

Method __pow__

numpy/ma/core.py:4300–4307  ·  view source on GitHub ↗

Raise self to the power other, masking the potential NaNs/Infs

(self, other)

Source from the content-addressed store, hash-verified

4298 return floor_divide(other, self)
4299
4300 def __pow__(self, other):
4301 """
4302 Raise self to the power other, masking the potential NaNs/Infs
4303
4304 """
4305 if self._delegate_binop(other):
4306 return NotImplemented
4307 return power(self, other)
4308
4309 def __rpow__(self, other):
4310 """

Callers

nothing calls this directly

Calls 2

_delegate_binopMethod · 0.95
powerFunction · 0.70

Tested by

no test coverage detected