Computes the square of 32-bit words in the input array.
IppStatus ippsSqr_32u64u(const Ipp32u *src, int n, Ipp64u *dst);
src |
Array of 32-bit words. |
n |
Input array size. |
dst |
Pointer to the result. |
This function is declared in the ippcp.h file. The function computes the square of each unsigned 32-bit long word in the input array. The result of the operation is stored in the array of 64-bit unsigned integers.
The following pseudocode represents this function:
dst[i] ← src[i] * src[i], where i = 0, 1, 2, ..., n -1.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsLengthErr |
Indicates an error condition if n is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.