Perform a forward discrete Fourier Transform.
If the fourier transform is to be applied repeatedly to
arrays with the same size and dtype, it is faster to use
the FFTW class directly to avoid creating new FFTW objects.
- Parameters:
- x
complex array_like Complex input array
- axes
int | iterable[int], optional Axes over which to take the fft. Default is all axes.
- Returns:
- fft
complex ndarray DFT of the input array over specified axes