LenSqr

Computes the squared length of a 2D, 3D, or 4D vector.

Syntax

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

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

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

Parameters

pSrc
Pointer to the source vector.
pDst
Pointer to the value of the squared length of the vector.

Description

The functions ippmLenSqr_v2_32f, ippmLenSqr_v3_32f, and ippmLenSqr_v4_32f are declared in the ippm.h file. These functions compute the squared length of a 2D, 3D, and 4D vector, respectively.

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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