MCPcopy Index your code
hub / github.com/numpy/numpy / __neg__

Method __neg__

numpy/lib/_user_array_impl.py:94–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 return self._rc(absolute(self.array))
93
94 def __neg__(self):
95 return self._rc(-self.array)
96
97 def __add__(self, other):
98 return self._rc(self.array + asarray(other))

Callers

nothing calls this directly

Calls 1

_rcMethod · 0.95

Tested by

no test coverage detected