CplxToReal

Returns the real and imaginary parts of a complex vector in two respective vectors.

Syntax

IppStatus ippsCplxToReal_16sc(const Ipp16sc* pSrc, Ipp16s* pDstRe, Ipp16s* pDstIm, int len);

IppStatus ippsCplxToReal_32fc(const Ipp32fc* pSrc, Ipp32f* pDstRe, Ipp32f* pDstIm, int len);

IppStatus ippsCplxToReal_64fc(const Ipp64fc* pSrc, Ipp64f* pDstRe, Ipp64f* pDstIm, int len);

Parameters

pSrc

Pointer to the complex vector pSrc.

pDstRe

Pointer to the output vector with real parts.

pDstIm

Pointer to the output vector with imaginary parts.

len

Number of elements in the vector.

Description

The function ippsCplxToReal is declared in the ipps.h file. This function returns the real and imaginary parts of a complex vector pSrc in two vectors pDstRe and pDstIm.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the data vector pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.