Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
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

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 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.

Output Parameters

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.

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).