.. _sphx_glr_api_gallery_special_functions_fourier_transform:
Discrete Fourier transform
----------------------------
Naive DFT vs. hand-rolled radix-2 FFT vs. ``numpy.fft``.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/special_functions/fourier_transform/images/thumb/sphx_glr_plot_01_naive_vs_radix2_vs_numpy_thumb.png
:alt:
:doc:`/api/gallery/special_functions/fourier_transform/plot_01_naive_vs_radix2_vs_numpy`
.. raw:: html
O(n^2) vs. O(n log n): naive DFT vs. radix-2 FFT vs. numpy.fft
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/special_functions/fourier_transform/plot_01_naive_vs_radix2_vs_numpy