Arctan
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 vectorpSrcDstfor 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 thepSrc,pDst, orpSrcDstpointer isNULL.
- ippStsSizeErr
- Indicates an error whenlenis less than or equal to 0.