fft(x, n=None, axis=-1, overwrite_x=False)¶
Compute the one-dimensional FFT.
- x (cupy.ndarray) – Array to be transformed.
- n (None or int) – Length of the transformed axis of the output. If
nis not given, the length of the input along the axis specified by
- axis (int) – Axis over which to compute the FFT.
- overwrite_x (bool) – If True, the contents of
xcan be destroyed.
The transformed array which shape is specified by
nand type will convert to complex if that of the input is another.