Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 6/24/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?J0

Computes the Bessel function of the first kind for vector elements.

Syntax

vhJ0( n, a, y );
vhJ0I(n, a, inca, y, incy);
vmhJ0( n, a, y, mode );
vmhJ0I(n, a, inca, y, incy, mode);
vsJ0( n, a, y );
vsJ0I(n, a, inca, y, incy);
vmsJ0( n, a, y, mode );
vmsJ0I(n, a, inca, y, incy, mode);
vdJ0( n, a, y );
vdJ0I(n, a, inca, y, incy);
vmdJ0( n, a, y, mode );
vmdJ0I(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 vhJ0, vmhJ0

const float* for vsJ0, vmsJ0

const double* for vdJ0, vmdJ0

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

_Float16* for vhJ0, vmhJ0

float* for vsJ0, vmsJ0

double* for vdJ0, vmdJ0

Pointer to an array that contains the output vector y.

Description

The J0 function computes the Bessel function of the first kind of order 0 for elements of the input vector a and writes them to the output vector y.

Special Values for Real Function v?J0(x)
Argument Result VM Error Status Exception
+0 +1    
-0 +1    
+ +0    
- +0    
QNAN QNAN    
SNAN QNAN   INVALID