MatchingBackend.subtract#

abstract MatchingBackend.subtract(arr1, arr2, out=None)[source]#

Element-wise subtraction of arrays.

Parameters:
arr1BackendArray

The minuend array.

arr2BackendArray

The subtrahend array.

outBackendArray, optional

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

Returns:
BackendArray

Element-wise difference of the input arrays.