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

Method pow

funct/Array.py:105–110  ·  view source on GitHub ↗

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

(self, e, inplace=False)

Source from the content-addressed store, hash-verified

103 return self
104
105 def pow(self, e, inplace=False):
106 """
107 Raises elements of this Array to given power,
108 or sequence of powers, element-wise.
109 """
110 return self.__operate(operator.pow, e, inplace)
111
112 def pow_(self, e):
113 """

Callers 2

testMethod · 0.95
__rpow__Method · 0.80

Calls 1

__operateMethod · 0.95

Tested by 1

testMethod · 0.76