| Framework | Accelerate/vecLib |
| Declared in | vDSP.h |
Describes the C API for the vecLib functions that convert complex vectors between interleaved and split forms.
Copies the contents of an interleaved complex vector C to a split complex vector Z; single precision.
void vDSP_ctoz (const DSPComplex C[], vDSP_Stride strideC, DSPSplitComplex * Z, vDSP_Stride strideZ, vDSP_Length size);
Performs the operation
strideC is an address stride through C. strideZ is an address stride through Z. The value of strideC must be a multiple of 2.
For best performance, C.realp, C.imagp, Z.realp, and Z.imagp should be 16-byte aligned.
See also functions“vDSP_ztoc” and “vDSP_ztocD.”
vDSP.h Copies the contents of an interleaved complex vector C to a split complex vector Z; double precision.
void vDSP_ctozD (const DSPDoubleComplex C[], vDSP_Stride strideC, DSPDoubleSplitComplex * Z, vDSP_Stride strideZ, vDSP_Length size);
This performs the operation
strideC is an address stride through C. strideZ is an address stride through Z. The value of strideC must be a multiple of 2.
For best performance, C.realp, C.imagp, Z.realp, and Z.imagp should be 16-byte aligned.
See also functions “vDSP_ztoc” and “vDSP_ztocD.”
vDSP.h Copies the contents of a split complex vector A to an interleaved complex vector C; single precision.
void vDSP_ztoc (const DSPSplitComplex * Z, vDSP_Stride strideZ, DSPComplex C[], vDSP_Stride strideC, vDSP_Length size);
This peforms the operation

strideC is an address stride through C. strideZ is an address stride through Z.
For best performance, C->realp, C->imagp, A->realp, and A->imagp should be 16-byte aligned.
See also “vDSP_ctoz” and “vDSP_ctozD.”
vDSP.h Copies the contents of a split complex vector A to an interleaved complex vector C; double precision.
void vDSP_ztocD (const DSPDoubleSplitComplex * Z, vDSP_Stride strideZ, DSPDoubleComplex C[], vDSP_Stride strideC, vDSP_Length size);
This peforms the operation

strideC is an address stride through C. strideZ is an address stride through Z.
For best performance, C->realp, C->imagp, A->realp, and A->imagp should be 16-byte aligned.
See also “vDSP_ctoz” and “vDSP_ctozD.”
vDSP.h
Last updated: 2007-06-15