Function

vDSP_DFT_ExecuteD(_:_:_:_:_:)

Calculates the discrete double-precision Fourier transform for a vector.

Declaration

func vDSP_DFT_ExecuteD(_ __Setup: OpaquePointer, _ __Ir: UnsafePointer<Double>, _ __Ii: UnsafePointer<Double>, _ __Or: UnsafeMutablePointer<Double>, _ __Oi: UnsafeMutablePointer<Double>)

Parameters

__Setup

A DFT setup object returned by a call to vDSP_DFT_zop_CreateSetupD(_:_:_:) or vDSP_DFT_zrop_CreateSetupD(_:_:_:).

__Ir

A double-precision vector containing the real part of the input values.

__Ii

A double-precision vector containing the imaginary part of the input values.

__Or

A double-precision vector where the real parts of the results are stored on return.

__Oi

A double-precision vector where the imaginary parts of the results are stored on return.

Discussion

This function is exactly like vDSP_DFT_Execute(_:_:_:_:_:), except for the types of the setup object and the data vectors.

See Also

Discrete Fourier Transforms

func vDSP_DFT_zop_CreateSetup(vDSP_DFT_Setup?, vDSP_Length, vDSP_DFT_Direction) -> vDSP_DFT_Setup?

Creates a data structure for use with vDSP_DFT_Execute(_:_:_:_:_:) or vDSP_DCT_Execute(_:_:_:) to perform a complex-to-complex discrete Fourier transform, forward or inverse.

func vDSP_DFT_zop_CreateSetupD(vDSP_DFT_SetupD?, vDSP_Length, vDSP_DFT_Direction) -> vDSP_DFT_SetupD?

Creates a data structure for use with vDSP_DFT_ExecuteD(_:_:_:_:_:) to perform a double-precision, complex-to-complex discrete Fourier transform, forward or inverse.

func vDSP_DFT_zrop_CreateSetup(vDSP_DFT_Setup?, vDSP_Length, vDSP_DFT_Direction) -> vDSP_DFT_Setup?

Creates a data structure for use with vDSP_DFT_Execute(_:_:_:_:_:) to perform a single-precision discrete Fourier transform, forward (real to complex) or inverse (complex to real).

func vDSP_DFT_zrop_CreateSetupD(vDSP_DFT_SetupD?, vDSP_Length, vDSP_DFT_Direction) -> vDSP_DFT_SetupD?

Creates a data structure for use with vDSP_DFT_ExecuteD(_:_:_:_:_:) to perform a double-precision discrete Fourier transform, forward (real to complex) or inverse (complex to real).

func vDSP_DFT_DestroySetup(vDSP_DFT_Setup?)

Releases a single-precision setup object.

func vDSP_DFT_DestroySetupD(vDSP_DFT_SetupD?)

Releases a double-precision setup object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software