Generic Type Method

phase(_:result:)

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

Declaration

static func phase<V>(_ splitComplex: DSPSplitComplex, result: inout V) where V : AccelerateMutableBuffer, V.Element == Float

See Also

Single-Vector Phase Computation

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.

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