Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

vDSP Complex Vector Conversion Reference

Framework
Accelerate/vecLib
Declared in
vDSP.h

Overview

Describes the C API for the vecLib functions that convert complex vectors between interleaved and split forms.

Functions

vDSP_ctoz

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);

Discussion

Performs the operation


mathematical formula

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.”

Availability
Declared In
vDSP.h

vDSP_ctozD

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);

Discussion

This performs the operation


mathematical formula

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.”

Availability
Declared In
vDSP.h

vDSP_ztoc

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);

Discussion

This peforms the operation


mathematical formula

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.”

Availability
Declared In
vDSP.h

vDSP_ztocD

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);

Discussion

This peforms the operation


mathematical formula

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.”

Availability
Declared In
vDSP.h

Next Page > Hide TOC


Last updated: 2007-06-15




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice