Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

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

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.