Phase Computation Functions

No overview available.

Topics

Single-Vector Phase Computation

The functions in this group compute the phase values of each element in a complex vector.

static func phase<V>(DSPSplitComplex, result: inout V)

Calculates the single-precision elementwise phase values, in radians, of the supplied complex vector.

static func phase<V>(DSPDoubleSplitComplex, result: inout V)

Calculates the double-precision elementwise phase values, in radians, of the supplied complex vector.

func vDSP_zvphas(UnsafePointer<DSPSplitComplex>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

Calculates the single-precision elementwise phase values, in radians, of the supplied complex vector using the specified stride.

func vDSP_zvphasD(UnsafePointer<DSPDoubleSplitComplex>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Calculates the double-precision elementwise phase values, in radians, of the supplied complex vector using the specified stride.