Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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);

IppStatus ippsMinAbs_16f(const Ipp16f* pSrc, int len, Ipp16f* pMinAbs);

IppStatus ippsMinAbs_32f(const Ipp32f* pSrc, int len, Ipp32f* pMinAbs);

IppStatus ippsMinAbs_64f(const Ipp64f* pSrc, int len, Ipp64f* pMinAbs);

Include Files

ipps.h

Parameters

pSrc

Pointer to the source vector.

pMinAbs

Pointer to the output result.

len

Number of elements in the vector.

Description

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.