Function

vDSP_fftm_zrip(_:_:_:_:_:_:_:)

Performs the same operation as vDSP_fft_zrip, but on multiple signals with a single call.

Declaration

func vDSP_fftm_zrip(_ __Setup: FFTSetup, _ __C: UnsafePointer<DSPSplitComplex>, _ __IC: vDSP_Stride, _ __IM: vDSP_Stride, _ __Log2N: vDSP_Length, _ __M: vDSP_Length, _ __Direction: FFTDirection)

Parameters

__Setup

Points to a structure initialized by a prior call to the FFT setup data function, vDSP_create_fftsetup. The value supplied as parameter Log2n of the earlier call to the setup function must equal or exceed the value supplied as parameter Log2N of this transform function.

__C

Complex input/output vector where multiple signals are concatenated.

__IC

Stride between elements in C. The value of IC should be 1 for best performance.

__IM

The number of elements between the first element of one input signal and the first element of the next (which is also the length of each input signal, measured in elements).

__Log2N

The base 2 exponent of the number of elements to process in a single input signal. For example, to process 512 elements, specify 9 for parameter Log2N.

__M

The number of input signals.

__Direction

A forward/inverse directional flag, which must specify kFFTDirection_Forward (+1) or kFFTDirection_Inverse (-1).

Discussion

The function performs discrete Fourier transforms on multiple signals using a single call. They will work for input signals of 4 points or greater. Each of the input signals processed by a given call must have the same length and address stride.

The functions compute in-place real discrete Fourier transforms of the input signals, either from the time domain to the frequency domain (forward) or from the frequency domain to the time domain (inverse).

See also functions vDSP_create_fftsetup, vDSP_destroy_fftsetup, and vDSP Programming Guide.

See Also

1D Fast Fourier Transforms (In-Place Real)

func vDSP_fft_zrip(FFTSetup, UnsafePointer<DSPSplitComplex>, vDSP_Stride, vDSP_Length, FFTDirection)

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).

func vDSP_fft_zripD(FFTSetupD, UnsafePointer<DSPDoubleSplitComplex>, vDSP_Stride, vDSP_Length, FFTDirection)

Computes an in-place double-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).

func vDSP_fft_zript(FFTSetup, UnsafePointer<DSPSplitComplex>, vDSP_Stride, UnsafePointer<DSPSplitComplex>, vDSP_Length, FFTDirection)

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.

func vDSP_fft_zriptD(FFTSetupD, UnsafePointer<DSPDoubleSplitComplex>, vDSP_Stride, UnsafePointer<DSPDoubleSplitComplex>, vDSP_Length, FFTDirection)

Computes an in-place double-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).