Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

ConvBiased

Computes the specified number of elements of the full finite linear convolution of two vectors.

Syntax

IppStatus ippsConvBiased_32f(const Ipp32f*
pSrc1
, int
src1Len
, const Ipp32f*
pSrc2
, int
src2Len
, Ipp32f* pDst, int
dstLen
, int
bias
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc1
,
pSrc2
Pointers to the two vectors to be convolved.
src1Len
Number of elements in the vector
pSrc1
.
src2Len
Number of elements in the vector
pSrc2
.
pDst
Pointer to the vector
pDst
. This vector stores the result of the convolution.
dstLen
Number of elements in the vector
pDst
.
bias
Parameter that specifes the starting element of the convolution.
Description
This function computes
dstLen
elements of finite linear convolution of two specified vectors
pSrc1
and
pSrc2
starting with an element that is specified by the
bias
. The result is stored in the vector
pDst
.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when the
pDst
or
pSrc
pointer is
NULL
.
ippStsSizeErr
Indicates an error when
src1Len
or
src2Len
is less than or equal to 0.

Example

The example below shows how to call the function
ippsConvBiased
.
void func_convbiased() { Ipp32f pSrc1[5] = {1.1, -2.0, 3.5, 2.2, 0.0}; Ipp32f pSrc2[4] = {0.0, 0.2, 2.5, -1.0}; const int len = 10; Ipp32f pDst[len]; int bias = 1; ippsZero_32f(pDst, len); ippsConvBiased_32f(pSrc1, 5, &pSrc2[1], 3, pDst, len, bias); }
Result:
pDst -> 0.2 2.3 -4.3 9.2 5.5 0.0 0.0 0.0 0.0 0.0

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804