Skip to content
masterclass Buddy

NumPy · Function

np.fft.fft

Computes a one-dimensional discrete Fourier Transform with the Fast Fourier Transform algorithm. It returns complex frequency-domain values.

Last updated

Since
2.0.0 for the `out` parameter

Syntax

numpy.fft.fft(a, n=None, axis=-1, norm=None, out=None)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • numpy.fft
  • numpy.fft.ifft
  • numpy.fft.fft2
  • numpy.fft.fftn
  • numpy.fft.rfftn
  • numpy.fft.fftfreq

Source: numpy.fft.fft — NumPy v2.5 Manual. Checked 2026-11-03.