Intel® oneAPI Math Kernel Library Developer Reference - C
Computes inverse sine of vector elements.
vsAsin( n, a, y );
vsAsinI(n, a, inca, y, incy);
vmsAsin( n, a, y, mode );
vmsAsinI(n, a, inca, y, incy, mode);
vdAsin( n, a, y );
vdAsinI(n, a, inca, y, incy);
vmdAsin( n, a, y, mode );
vmdAsinI(n, a, inca, y, incy, mode);
vcAsin( n, a, y );
vcAsinI(n, a, inca, y, incy);
vmcAsin( n, a, y, mode );
vmcAsinI(n, a, inca, y, incy, mode);
vzAsin( n, a, y );
vzAsinI(n, a, inca, y, incy);
vmzAsin( n, a, y, mode );
vmzAsinI(n, a, inca, y, incy, mode);
Name |
Type |
Description |
|---|---|---|
n |
const MKL_INT |
Specifies the number of elements to be calculated. |
a |
const float* for vsAsin, vmsAsin const double* for vdAsin, vmdAsin const MKL_Complex8* for vcAsin, vmcAsin const MKL_Complex16* for vzAsin, vmzAsin |
Pointer to an array that contains the input vector a. |
inca, incy |
const MKL_INT |
Specifies increments for the elements of a and y. |
mode |
const MKL_INT64 |
Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
|---|---|---|
y |
float* for vsAsin, vmsAsin double* for vdAsin, vmdAsin MKL_Complex8* for vcAsin, vmcAsin MKL_Complex16* for vzAsin, vmzAsin |
Pointer to an array that contains the output vector y. |
The v?Asin function computes inverse sine of vector elements.
| Argument | Result | VM Error Status | Exception |
|---|---|---|---|
| +0 | +0 | ||
| -0 | -0 | ||
| +1 | +π/2 | ||
| -1 | -π/2 | ||
| |X| > 1 | QNAN | VML_STATUS_ERRDOM | INVALID |
| +∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
| -∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
| QNAN | QNAN | ||
| SNAN | QNAN | INVALID |
Specifications for special values of the complex functions are defined according to the following formula
Asin(z) = -i*Asinh(i*z).