Sub

Subtracts one 2D, 3D, or 4D vector from another.

Syntax

IppStatus ippmSub_v2_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

IppStatus ippmSub_v3_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

IppStatus ippmSub_v4_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

Parameters

pSrc1
Pointer to the minuend source vector.
pSrc2
Pointer to the subtrahend source vector.
pDst
Pointer to the difference of the source vectors.

Description

The functions ippmSub_v2_32f, ippmSub_v3_32f, and ippmSub_v4_32f are declared in the ippm.h file. These functions subtract 2D, 3D, and 4D vectors, respectively.

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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