MCPcopy Create free account
hub / github.com/Lauriat/funct / pow_

Method pow_

funct/Array.py:112–119  ·  view source on GitHub ↗

Raises elements (in-place) of this Array to given power, or sequence of powers, element-wise.

(self, e)

Source from the content-addressed store, hash-verified

110 return self.__operate(operator.pow, e, inplace)
111
112 def pow_(self, e):
113 """
114 Raises elements (in-place) of this Array to given power,
115 or sequence of powers, element-wise.
116 """
117 warn()
118 self[:] = self.__operate(operator.pow, e, True)
119 return self
120
121 def mod(self, e, inplace=False):
122 """

Callers 2

testMethod · 0.95
test_errsMethod · 0.80

Calls 1

__operateMethod · 0.95

Tested by 2

testMethod · 0.76
test_errsMethod · 0.64