MinAbs

Returns the minimum absolute value of a vector.

Syntax

IppStatus ippsMinAbs_16s(const Ipp16s* pSrc, int len, Ipp16s* pMinAbs);

IppStatus ippsMinAbs_32s(const Ipp32s* pSrc, int len, Ipp32s* pMinAbs);

Parameters

pSrc

Pointer to the source vector.

pMinAbs

Pointer to the output result.

len

Number of elements in the vector.

Description

The function ippsMinAbs is declared in the ipps.h file. This function returns the minimum absolute value of the input vector pSrc, and stores the result in pMinAbs.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pMinAbs or pSrc 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.