NumpyFFTWBackend.clip#

NumpyFFTWBackend.clip(*args, **kwargs)#

Clip elements of arr.

Parameters:
arrBackendArray

Input data.

a_minScalar

Lower bound.

a_maxScalar

Upper bound.

outBackendArray, optional

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

Returns:
BackendArray

Clipped arr.