Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public

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

Document Table of Contents

Arctan

Computes the inverse tangent of each element of a vector.

Syntax

IppStatus ippsArctan_32f(const Ipp32f* pSrc, Ipp32f* pDst, int len);

IppStatus ippsArctan_64f(const Ipp64f* pSrc, Ipp64f* pDst, int len);

IppStatus ippsArctan_32f_I(Ipp32f* pSrcDst, int len);

IppStatus ippsArctan_64f_I(Ipp64f* pSrcDst, int len);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

pSrcDst

Pointer to the source and destination vector pSrcDst for the in-place operation.

len

Number of elements in the vector.

Description

This function computes the inverse tangent of each element of pSrc and stores the result in the corresponding element of pDst.

The computation is performed as follows:

pDst [n] = arctan(pSrc [n]), 0 n < len.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrc, pDst, or pSrcDst pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.