NumpyFFTWBackend.roll#

NumpyFFTWBackend.roll(a, shift, axis, **kwargs)[source]#

Roll array elements along a specified axis.

Parameters:
aBackendArray

Input data.

shiftint or tuple of ints, optional

Shift along each axis.

Returns:
BackendArray

Array with elements rolled.