MCPcopy Index your code
hub / github.com/numpy/numpy / __pow__

Method __pow__

numpy/ma/core.py:4387–4394  ·  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

4385 return floor_divide(other, self)
4386
4387 def __pow__(self, other):
4388 """
4389 Raise self to the power other, masking the potential NaNs/Infs
4390
4391 """
4392 if self._delegate_binop(other):
4393 return NotImplemented
4394 return power(self, other)
4395
4396 def __rpow__(self, other):
4397 """

Callers

nothing calls this directly

Calls 2

_delegate_binopMethod · 0.95
powerFunction · 0.70

Tested by

no test coverage detected