Developer Reference for Intel® oneAPI Math Kernel Library for C
v?Asin
vsAsin vdAsin vcAsin vzAsin vmsAsin vmdAsin vmcAsin vmzAsin Computes inverse sine of vector elements.
Syntax
vhAsin ( n , a , y ) ;
vhAsinI(n, a, inca, y, incy);
vmhAsin ( n , a , y , mode ) ;
vmhAsinI(n, a, inca, y, incy, mode);
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);
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 vhAsin , vmhAsin 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 (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 vhAsin , vmhAsin 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 . |
Description
The v?Asin function computes inverse sine of vector elements.
Special Values for Real Function v?Asin(x)
Argument |
Result |
VM Error Status |
Exception |
|---|---|---|---|
+0 |
+0 |
||
-0 |
-0 |
||
+1 |
|
||
-1 |
|
||
\(|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) .