Developer Reference for Intel® oneAPI Math Kernel Library for C
v?Atanpi
Computes the inverse tangent of vector elements divided by π .
Syntax
vhAtanpi(n, a, y);
vhAtanpiI(n, a, inca, y, incy);
vmhAtanpi(n, a, y, mode);
vmhAtanpiI(n, a, inca, y, incy, mode);
vsAtanpi(n, a, y);
vsAtanpiI(n, a, inca, y, incy);
vmsAtanpi(n, a, y, mode);
vmsAtanpiI(n, a, inca, y, incy, mode);
vdAtanpi(n, a, y);
vdAtanpiI(n, a, inca, y, incy);
vmdAtanpi(n, a, y, mode);
vmdAtanpiI(n, a, inca, y, incy, mode);
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
|---|---|---|
n |
const MKL_INT |
Specifies the number of elements to be calculated. |
a |
const _Float16* for vhAtanpi const float* for vsAtanpi const _Float16* for vmhAtanpi const float* for vmsAtanpi const double* for vdAtanpi const double* for vmdAtanpi |
Pointer to the array containing the input vector a . |
inca , incy |
const MKL_INT |
Specifies increments for the elements of a and y . |
mode |
const MKL_INT64 |
Overrides the global VM mode setting for this function call. See vmlSetMode (Sets a new mode for VM functions according to the mode parameter and stores the previous VM mode to oldmode.) for possible values and their description. |
Output Parameters
Name |
Type |
Description |
|---|---|---|
y |
_Float16* for vhAtanpi float* for vsAtanpi _Float16* for vmhAtanpi float* for vmsAtanpi double* for vdAtanpi double* for vmdAtanpi |
Pointer to an array containing the output vector y . |
Description
The v?Atanpi function computes the inverse tangent of vector elements divided by π . For an argument x , the function computes atan( x )/ π .
Special values for Real Function v?Atanpi(x)
Argument |
Result |
VM Error Status |
Exception |
|---|---|---|---|
+0 |
+0 |
||
-0 |
-0 |
||
|
+1/2 |
||
|
-1/2 |
||
QNAN |
QNAN |
||
SNAN |
QNAN |
INVALID |