Intel® Math Kernel Library 2019 Developer Reference - Fortran
Computes the inverse tangent of vector elements divided by π.
call vsatanpi (n, a, y)
call vmsatanpi (n, a, y, mode)
call vdatanpi (n, a, y)
call vmdatanpi (n, a, y, mode)
Name |
Type |
Description |
|---|---|---|
n |
INTEGER |
Specifies the number of elements to be calculated. |
a |
REAL for vsatanpi REAL for vmsatanpi DOUBLE PRECISION for vdatanpi DOUBLE PRECISION for vmdatanpi |
Pointer to the array containing the input vector a. |
mode |
INTEGER (KIND=8) |
Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
|---|---|---|
y |
REAL for vsatanpi REAL for vmsatanpi DOUBLE PRECISION for vdatanpi DOUBLE PRECISION for vmdatanpi |
Pointer to an array containing the output vector y. |
The v?Atanpi function computes the inverse tangent of vector elements divided by π. For an argument x, the function computes atan(x)/π.
| Argument | Result | VM Error Status | Exception |
|---|---|---|---|
| +0 | +0 | ||
| -0 | -0 | ||
| +∞ | +1/2 | ||
| -∞ | -1/2 | ||
| QNAN | QNAN | ||
| SNAN | QNAN | INVALID |