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

Method add

funct/Array.py:49–53  ·  view source on GitHub ↗

Element-wise addition with given scalar or sequence.

(self, e, inplace=False)

Source from the content-addressed store, hash-verified

47 super().__init__(args)
48
49 def add(self, e, inplace=False):
50 """
51 Element-wise addition with given scalar or sequence.
52 """
53 return self.__operate(operator.add, e, inplace)
54
55 def add_(self, e):
56 """

Callers 1

testMethod · 0.95

Calls 1

__operateMethod · 0.95

Tested by 1

testMethod · 0.76