Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-DDA2489B-F06A-4CDF-81B7-EC9974BD2C8A
Visible to Intel only — GUID: GUID-DDA2489B-F06A-4CDF-81B7-EC9974BD2C8A
v?Atanpi
Computes the inverse tangent of vector elements divided by π.
call vsatanpi (n, a, y)
call vsatanpii(n, a, inca, y, incy)
call vmsatanpi (n, a, y, mode)
call vmsatanpii(n, a, inca, y, incy, mode)
call vdatanpi (n, a, y)
call vdatanpii(n, a, inca, y, incy)
call vmdatanpi (n, a, y, mode)
call vmdatanpii(n, a, inca, y, incy, mode)
- mkl_vml.f90
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. |
inca, incy |
INTEGER, INTENT(IN) |
Specifies increments for the elements of a and y. |
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 |