Conj

Performs element-wise conjugation of a complex vector.

Syntax

Intel IPP style:

IppStatus ippsqConj_32fc(const Ipp32fc* pSrc, Ipp32fc* pDst, Ipp32u len);

IppStatus ippsqConjQ15_16sc(const Ipp16sc* pSrc, Ipp16sc* pDst, Ipp32u len);

IppStatus ippsqConjQ31_32sc(const Ipp32sc* pSrc, Ipp32s* pDst, Ipp32u len);

DSP style:

void ippsq_cmplx_conj_f32(const float32_t* pSrc, float32_t* pDst, uint32_t len);

void ippsq_cmplx_conj_q15(const q15_t* pSrc, q15_t* pDst, uint32_t len);

void ippsq_cmplx_conj_q31(const q31_t* pSrc, q31_t* pDst, uint32_t len);

Include Files

ippsq.h

dsp.h

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

len

Number of elements in the vector.

Description

This function performs element-wise conjugation of the pSrc vector by the formulas below:

pDst[n].re=pSrc[n].re

pDst[n].im=-pSrc[n].im

The result is stored in the pDst vector.

Q31 and Q15 function flavors perform saturation if the resulting value exceeds the data range.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.
For more complete information about compiler optimizations, see our Optimization Notice.