Developer Reference for Intel® Integrated Performance Primitives 2018
Returns a complex vector constructed from the real and imaginary parts of two real vectors.
IppStatus ippsRealToCplx_16s(const Ipp16s* pSrcRe, const Ipp16s* pSrcIm, Ipp16sc* pDst, int len);
IppStatus ippsRealToCplx_32f(const Ipp32f* pSrcRe, const Ipp32f* pSrcIm, Ipp32fc* pDst, int len);
IppStatus ippsRealToCplx_64f(const Ipp64f* pSrcRe, const Ipp64f* pSrcIm, Ipp64fc* pDst, int len);
ipps.h
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
pSrcRe |
Pointer to the vector with real parts of complex elements. |
pSrcIm |
Pointer to the vector with imaginary parts of complex elements. |
pDst |
Pointer to the destination vector. |
len |
Number of elements in the vector. |
This function returns a complex vector pDst constructed from the real and imaginary parts of the input vectors pSrcRe and pSrcIm.
If pSrcRe is NULL, the real component of the vector is set to zero.
If pSrcIm is NULL, the imaginary component of the vector is set to zero.
Note that the pointers cannot be both NULL.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pDst pointer is NULLNULL. The pointer pSrcRe or pSrcIm can be NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to zero. |