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-7F3B051A-41CB-4B9C-A31F-1068B5BE6B2F
Visible to Intel only — GUID: GUID-7F3B051A-41CB-4B9C-A31F-1068B5BE6B2F
v?Asinpi
Computes the inverse sine of vector elements divided by π.
Syntax
call vsasinpi (n, a, y)
call vsasinpii(n, a, inca, y, incy)
call vmsasinpi (n, a, y, mode)
call vmsasinpii(n, a, inca, y, incy, mode)
call vdasinpi (n, a, y)
call vdasinpii(n, a, inca, y, incy)
call vmdasinpi (n, a, y, mode)
call vmdasinpii(n, a, inca, y, incy, mode)
Include Files
- mkl_vml.f90
Input Parameters
Name |
Type |
Description |
---|---|---|
n |
INTEGER |
Specifies the number of elements to be calculated. |
a |
REAL for vsasinpi REAL for vmsasinpi DOUBLE PRECISION for vdasinpi DOUBLE PRECISION for vmdasinpi |
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. |
Output Parameters
Name |
Type |
Description |
---|---|---|
y |
REAL for vsasinpi REAL for vmsasinpi DOUBLE PRECISION for vdasinpi DOUBLE PRECISION for vmdasinpi |
Pointer to an array containing the output vector y. |
Description
The v?Asinpi function computes the inverse sine of vector elements divided by π. For an argument x, the function computes asin(x)/π.
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | ||
-0 | -0 | ||
+1 | +1/2 | ||
-1 | -1/2 | ||
|x| > 1 | QNAN | VML_STATUS_ERRDOM | INVALID |
+∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
-∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |