Computes an in-place single-precision real discrete Fourier transform, either from the time domain to the frequency domain (forward) or from the frequency domain to the time domain (inverse). Usesa temporary buffer to improve performance.
- iOS 4.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Points to a structure initialized by a prior call to the FFT setup data function,
v. The value supplied as parameter
DSP _create _fftsetup
Log2nof the setup function must equal or exceed the value supplied as parameter
Log2Nof this transform function.
Complex input/output vector.
Stride between elements in
C. The value of
ICshould be 1 for best performance.
A temporary vector used for storing interim results. The minimum size of temporary memory for each part (real and imaginary) is
Log2N). For best performance, the buffer addresses should be 16-byte aligned or better.
The base 2 exponent of the number of elements to process. For example, to process 1024 elements, specify 10 for parameter
Forward transforms read real input and write packed complex output. Inverse transforms read packed complex input and write real output. As a result of packing the frequency-domain data, time-domain data and its equivalent frequency-domain data have the same storage requirements. You can find more details on the packing format in vDSP Programming Guide in vDSP Programming Guide.
where F is
Direction, C is
C, and N is two raised to the power of