Visible to Intel only — GUID: GUID-3B7E8C9D-1C76-4617-A43E-FE2E94255AD1
Visible to Intel only — GUID: GUID-3B7E8C9D-1C76-4617-A43E-FE2E94255AD1
Max
Returns the maximum value of a vector.
Syntax
IppStatus ippsMax_16s(const Ipp16s* pSrc, int len, Ipp16s* pMax);
IppStatus ippsMax_32s(const Ipp32s* pSrc, int len, Ipp32s* pMax);
IppStatus ippsMax_32f(const Ipp32f* pSrc, int len, Ipp32f* pMax);
IppStatus ippsMax_64f(const Ipp64f* pSrc, int len, Ipp64f* pMax);
Include Files
ipps.h
Domain Dependencies
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
Parameters
pSrc |
Pointer to the source vector. |
pMax |
Pointer to the output result. |
len |
Number of elements in the vector |
Description
This function returns the maximum value of the input vector pSrc, and stores the result in pMax.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pMax or pSrc pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |