InvSqrt

Computes inverse square root of vector elements.

Syntax

IppStatus ippsInvSqrt_32s_I (Ipp32s* pSrcDst, int len);

Parameters

pSrcDst

Pointer to the source and destination vector.

len

Number of elements in the vector.

Description

The function ippsInvSqrt is declared in the ippsc.h file. This function computes the inverse square roots as:



using the approximation table. The input and output vectors are scaled by 30 bits.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrcDst pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

Submit feedback on this help topic

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