Normalize

Normalizes a 2D, 3D, or 4D vector.

Syntax

IppStatus ippmNormalize_v2_32f (const Ipp32f* pSrc, Ipp32f* pDst);

IppStatus ippmNormalize_v3_32f (const Ipp32f* pSrc, Ipp32f* pDst);

IppStatus ippmNormalize_v4_32f (const Ipp32f* pSrc, Ipp32f* pDst);

Parameters

pSrc
Pointer to the source vector.
pDst
Pointer to the normalized vector.

Description

The functions ippmNormalize_v2_32f, ippmNormalize_v3_32f, and ippmNormalize_v4_32f are declared in the ippm.h file. These functions normalize a 2D, 3D, or 4D vector, respectively, by dividing its components by its length.

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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