# Complex Vector Conversion

No overview available.

## Topics

### Complex Vector Conversion

These functions convert complex vectors between interleaved and split forms.

`static func convert(splitComplexVector: DSPDoubleSplitComplex, toInterleavedComplexVector: inout [DSPDoubleComplex])`

Converts the contents of a split double-precision complex vector to an interleaved vector.

`static func convert(splitComplexVector: DSPSplitComplex, toInterleavedComplexVector: inout [DSPComplex])`

Converts the contents of a split single-precision complex vector to an interleaved vector.

`static func convert(interleavedComplexVector: [DSPDoubleComplex], toSplitComplexVector: inout DSPDoubleSplitComplex)`

Converts the contents of an interleaved double-precision complex vector to a split complex vector.

`static func convert(interleavedComplexVector: [DSPComplex], toSplitComplexVector: inout DSPSplitComplex)`

Converts the contents of an interleaved single-precision complex vector to a split complex vector.

`func vDSP_ctoz(UnsafePointer<DSPComplex>, vDSP_Stride, UnsafePointer<DSPSplitComplex>, vDSP_Stride, vDSP_Length)`

Copies the contents of an interleaved complex vector `C` to a split complex vector `Z`; single precision.

`func vDSP_ctozD(UnsafePointer<DSPDoubleComplex>, vDSP_Stride, UnsafePointer<DSPDoubleSplitComplex>, vDSP_Stride, vDSP_Length)`

Copies the contents of an interleaved complex vector `C` to a split complex vector `Z`; double precision.

`func vDSP_ztoc(UnsafePointer<DSPSplitComplex>, vDSP_Stride, UnsafeMutablePointer<DSPComplex>, vDSP_Stride, vDSP_Length)`

Copies the contents of a split complex vector `Z` to an interleaved complex vector `C`; single precision.

`func vDSP_ztocD(UnsafePointer<DSPDoubleSplitComplex>, vDSP_Stride, UnsafeMutablePointer<DSPDoubleComplex>, vDSP_Stride, vDSP_Length)`

Copies the contents of a split complex vector `A` to an interleaved complex vector `C`; double precision.