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

Method sub_

funct/Array.py:69–75  ·  view source on GitHub ↗

Inplace element-wise subtraction with given scalar or sequence.

(self, e)

Source from the content-addressed store, hash-verified

67 return self.__operate(operator.sub, e, inplace)
68
69 def sub_(self, e):
70 """
71 Inplace element-wise subtraction with given scalar or sequence.
72 """
73 warn()
74 self[:] = self.__operate(operator.sub, e, True)
75 return self
76
77 def mul(self, e, inplace=False):
78 """

Callers

nothing calls this directly

Calls 1

__operateMethod · 0.95

Tested by

no test coverage detected