MCPcopy Create free account
hub / github.com/numpy/numpy / __add__

Method __add__

numpy/core/tests/test_multiarray.py:6603–6606  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

6601 self.array = np.array(sequence)
6602
6603 def __add__(self, other):
6604 out = Vec()
6605 out.array = self.array + other.array
6606 return out
6607
6608 def __sub__(self, other):
6609 out = Vec()

Callers

nothing calls this directly

Calls 1

VecClass · 0.85

Tested by

no test coverage detected