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

Method mul_

funct/Array.py:83–89  ·  view source on GitHub ↗

Inplace element-wise multiplication with given scalar or sequence.

(self, e)

Source from the content-addressed store, hash-verified

81 return self.__operate(operator.mul, e, inplace)
82
83 def mul_(self, e):
84 """
85 Inplace element-wise multiplication with given scalar or sequence.
86 """
87 warn()
88 self[:] = self.__operate(operator.mul, e, True)
89 return self
90
91 def div(self, e, inplace=False):
92 """

Callers 2

testMethod · 0.95
test_errsMethod · 0.80

Calls 1

__operateMethod · 0.95

Tested by 2

testMethod · 0.76
test_errsMethod · 0.64