AutoCorr

Calculates autocorrelation of a vector.

Syntax

IppStatus ippsAutoCorr_16s32s (const Ipp16s* pSrc, int srcLen, Ipp32s* pDst, int dstLen);

Parameters

pSrc

Pointer to the first source vector [srcLen].

srcLen

Length of the source vector.

pDst

Pointer to the destination vector [dstLen].

dstLen

Length of the destination vector (the number of autocorrelation values to calculate).

Description

The function ippsAutoCorr is declared in the ippsc.h file. This function calculates autocorrelation of the input vector as follows:



Here n = 0,...,dstLen -1 .

and stores the result in pDst.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error when srcLenor dstLen is less or equal to 0.

Submit feedback on this help topic

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