Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

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

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.