Returns the maximum absolute value of a vector.
IppStatus ippsMaxAbs_16s(const Ipp16s* pSrc, int len, Ipp16s* pMaxAbs);
IppStatus ippsMaxAbs_32s(const Ipp32s* pSrc, int len, Ipp32s* pMaxAbs);
pSrc |
Pointer to the source vector. |
pMaxAbs |
Pointer to the output result. |
len |
Number of elements in the vector. |
The function ippsMaxAbs is declared in the ipps.h file. This function returns the maximum absolute value of the input vector pSrc, and stores the result in pMaxAbs.
The example below shows how to use the function ippsMaxAbs_16s.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pMaxAbs or pSrc pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.