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

Method __pow__

numpy/polynomial/_polybase.py:590–593  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

588 return quo, rem
589
590 def __pow__(self, other):
591 coef = self._pow(self.coef, other, maxpower=self.maxpower)
592 res = self.__class__(coef, self.domain, self.window, self.symbol)
593 return res
594
595 def __radd__(self, other):
596 try:

Callers

nothing calls this directly

Calls 1

_powMethod · 0.95

Tested by

no test coverage detected