Conj

Stores the complex conjugate values of a vector in a second vector or in-place.

Syntax

IppStatus ippsConj_16sc(const Ipp16sc* pSrc, Ipp16sc* pDst, int len);

IppStatus ippsConj_32fc(const Ipp32fc* pSrc, Ipp32fc* pDst, int len);

IppStatus ippsConj_64fc(const Ipp64fc* pSrc, Ipp64fc* pDst, int len);

IppStatus ippsConj_16sc_I(Ipp16sc* pSrcDst, int len);

IppStatus ippsConj_32fc_I(Ipp32fc* pSrcDst, int len);

IppStatus ippsConj_64fc_I(Ipp64fc* pSrcDst, int len);

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

pSrcDst

Pointer to the source and destination vector for the in-place operation.

len

Number of elements in the vector.

Description

The function ippsConj is declared in the ipps.h file. This function stores in pDst the element-wise conjugation of the complex vector pSrc. The element-wise conjugation of the vector is defined as follows:

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

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

The in-place flavors of ippsConj store in pSrcDst the element-wise conjugation of the complex vector pSrcDst.

The element-wise conjugation of the vector is defined as follows:

pSrcDst[n].re = pSrcDst[n].re

pSrcDst[n].im = pSrcDst[n].im

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrc, pDst, or pSrcDst pointer is NULL.

ippStsSizeErr

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

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.