Developer Reference for Intel® Integrated Performance Primitives 2019

Real

Returns the real part of a complex vector in a second vector.

Syntax

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

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

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

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

pSrc

Pointer to the complex source vector.

pDstRe

Pointer to the destination vector with real parts.

len

Number of elements in the vector.

Description

This function returns the real part of the complex vector pSrc in the vector pDstRe.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pDstRe or pSrc pointer is NULL.

ippStsSizeErr

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

Example

Real.c