MatchingBackend.abs#

abstract MatchingBackend.abs(arr, out=None)[source]#

Compute the absolute of array elements.

Parameters:
arrBackendArray

Input data.

outBackendArray, optional

Output array to write the result to. Returns a new array by default.

Returns:
BackendArray

Absolute value of arr.