Developer Reference for Intel® oneAPI Math Kernel Library for C
A newer version of this document is available. Customers should click here to go to the newest version.
v?J1
Computes the Bessel function of the first kind for vector elements.
Syntax
vhJ1( n, a, y ); vhJ1I(n, a, inca, y, incy); vmhJ1( n, a, y, mode ); vmhJ1I(n, a, inca, y, incy, mode); vsJ1( n, a, y ); vsJ1I(n, a, inca, y, incy); vmsJ1( n, a, y, mode ); vmsJ1I(n, a, inca, y, incy, mode); vdJ1( n, a, y ); vdJ1I(n, a, inca, y, incy); vmdJ1( n, a, y, mode ); vmdJ1I(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 vhJ1, vmhJ1 const float* for vsJ1, vmsJ1 const double* for vdJ1, vmdJ1 |
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 vhJ1, vmhJ1 float* for vsJ1, vmsJ1 double* for vdJ1, vmdJ1 |
Pointer to an array that contains the output vector y. |
Description
The J1 function computes the Bessel function of the first kind of order 1 for elements of the input vector a and writes them to the output vector y.
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | ||
-0 | -0 | ||
+∞ | +0 | ||
-∞ | +0 | ||
QNAN | QNAN | ||
SNAN | QNAN | INVALID |