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

Syntax

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

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

IppStatus ippsImag_64fc(const Ipp64fc* pSrc, 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 source vector.

pDstIm

Pointer to the destination vector with imaginary parts.

len

Number of elements in the vector.

Description

This function returns the imaginary part of a complex vector pSrc in the vector pDstIm.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

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

Example

Imag.c

有关编译器优化的更完整信息,请参阅优化通知