Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

v?Asin

Computes inverse sine of vector elements.

Syntax

call vsasin( n, a, y )

call vsasini(n, a, inca, y, incy)

call vmsasin( n, a, y, mode )

call vmsasini(n, a, inca, y, incy, mode)

call vdasin( n, a, y )

call vdasini(n, a, inca, y, incy)

call vmdasin( n, a, y, mode )

call vmdasini(n, a, inca, y, incy, mode)

call vcasin( n, a, y )

call vcasini(n, a, inca, y, incy)

call vmcasin( n, a, y, mode )

call vmcasini(n, a, inca, y, incy, mode)

call vzasin( n, a, y )

call vzasini(n, a, inca, y, incy)

call vmzasin( n, a, y, mode )

call vmzasini(n, a, inca, y, incy, mode)

Include Files
  • mkl_vml.f90
Input Parameters

Name

Type

Description

n

INTEGER, INTENT(IN)

Specifies the number of elements to be calculated.

a

DOUBLE PRECISION for vdasin, vmdasin

COMPLEX for vcasin, vmcasin

DOUBLE COMPLEX for vzasin, vmzasin

REAL, INTENT(IN) for vsasin, vmsasin

DOUBLE PRECISION, INTENT(IN) for vdasin, vmdasin

COMPLEX, INTENT(IN) for vcasin, vmcasin

DOUBLE COMPLEX, INTENT(IN) for vzasin, vmzasin

Array that specifies the input vector a.

inca, incy

INTEGER, INTENT(IN)

Specifies increments for the elements of a and y.

mode

INTEGER(KIND=8), INTENT(IN)

Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description.

Output Parameters

Name

Type

Description

y

DOUBLE PRECISION for vdasin, vmdasin

COMPLEX for vcasin, vmcasin

DOUBLE COMPLEX for vzasin, vmzasin

REAL, INTENT(OUT) for vsasin, vmsasin

DOUBLE PRECISION, INTENT(OUT) for vdasin, vmdasin

COMPLEX, INTENT(OUT) for vcasin, vmcasin

DOUBLE COMPLEX, INTENT(OUT) for vzasin, vmzasin

Array that specifies 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 +π/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).