Developer Reference for Intel® oneAPI Math Kernel Library for C
v?Jn
Computes the Bessel function of the first kind for vector elements.
Syntax
vhJn( n, a, b, y );
vhJnI(n, a, inca, b, y, incy);
vmhJn( n, a, b, y, mode );
vmhJnI(n, a, inca, b, y, incy, mode);
vsJn( n, a, b, y );
vsJnI(n, a, inca, b, y, incy);
vmsJn( n, a, b, y, mode );
vmsJnI(n, a, inca, b, y, incy, mode);
vdJn( n, a, b, y );
vdJnI(n, a, inca, b, y, incy);
vmdJn( n, a, b, y, mode );
vmdJnI(n, a, inca, b, 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 vhJn, vmhJn const float* for vsJn, vmsJn const double* for vdJn, vmdJn |
Pointer to an array that contains the input vector a . |
b |
const _Float16 for vhJn, vmhJn const float for vsJn, vmsJn const double for vdJn, vmdJn |
Constant value for order b . |
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 vhJn, vmhJn float* for vsJn, vmsJn double* for vdJn, vmdJn |
Pointer to an array that contains the output vector y . |
Description
The Jn function computes the Bessel function of the first kind of a given order b for elements of the input vector a and writes them to the output vector y .
Special Values for Real Function v?Jn(x)
Argument |
Result |
VM Error Status |
Exception |
|---|---|---|---|
+0 |
+0 |
||
-0 |
-0 |
||
+ ∞ |
+0 |
||
- ∞ |
+0 |
||
QNAN |
QNAN |
||
SNAN |
QNAN |
INVALID |