Returns the imaginary part of a complex vector in a second vector.
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);
pSrc |
Pointer to the complex source vector. |
pDstIm |
Pointer to the destination vector with imaginary parts. |
len |
Number of elements in the vector. |
The function ippsImag is declared in the ipps.h file. This function returns the imaginary part of a complex vector pSrc in the vector pDstIm.
The example below shows how to call the function ippsImag_32fc.
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 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.