Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Computing an FFT

You can find code examples that compute transforms in the Fourier Transform Functions Code Examples.

Usually you can compute an FFT by five function calls (refer to the usage model for details). A single data structure, the descriptor, stores configuration parameters that can be changed independently.

The descriptor data structure, when created, contains information about the length and domain of the FFT to be computed, as well as the setting of several configuration parameters. Default settings for some of these parameters are as follows:

  • Scale factor: none (that is, σ = 1)

  • Number of data sets: one

  • Data storage: contiguous

  • Placement of results: in-place (the computed result overwrites the input data)

The default settings can be changed one at a time through the function DftiSetValue as illustrated in Example "Changing Default Settings (C)".