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

Method __abs__

numpy/lib/user_array.py:54–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self.array[index] = asarray(value, self.dtype)
53
54 def __abs__(self):
55 return self._rc(absolute(self.array))
56
57 def __neg__(self):
58 return self._rc(-self.array)

Callers

nothing calls this directly

Calls 1

_rcMethod · 0.95

Tested by

no test coverage detected