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

Method __abs__

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

Source from the content-addressed store, hash-verified

89 self.array[index] = asarray(value, self.dtype)
90
91 def __abs__(self):
92 return self._rc(absolute(self.array))
93
94 def __neg__(self):
95 return self._rc(-self.array)

Callers

nothing calls this directly

Calls 1

_rcMethod · 0.95

Tested by

no test coverage detected