__invert__ΒΆ
- array.__invert__() array ΒΆ
Evaluates
~self_i
for each element of an array instance.- Parameters:
self (array) β array instance. Should have an integer or boolean data type.
- Returns:
out (array) β an array containing the element-wise results. The returned array must have the same data type as
self
.
Note
Element-wise results must equal the results returned by the equivalent element-wise function
bitwise_invert()
.