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.