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?Yn
Computes the Bessel function of the second kind for vector elements.
Syntax
vhYn( n, a, b, y ); vhYnI(n, a, inca, b, y, incy); vmhYn( n, a, b, y, mode ); vmhYnI(n, a, inca, b, y, incy, mode); vsYn( n, a, b, y ); vsYnI(n, a, inca, b, y, incy); vmsYn( n, a, b, y, mode ); vmsYnI(n, a, inca, b, y, incy, mode); vdYn( n, a, b, y ); vdYnI(n, a, inca, b, y, incy); vmdYn( n, a, b, y, mode ); vmdYnI(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 vhYn, vmhYn const float* for vsYn, vmsYn const double* for vdYn, vmdYn |
Pointer to an array that contains the input vector a. |
b |
const _Float16 for vhYn, vmhYn const float for vsYn, vmsYn const double for vdYn, vmdYn |
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 vhYn, vmhYn float* for vsYn, vmsYn double* for vdYn, vmdYn |
Pointer to an array that contains the output vector y. |
Description
The Yn function computes the Bessel function of the second kind of a given order b for elements of the input vector a and writes them to the output vector y.
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | VML_STATUS_SING | ZERODIVIDE |
-0 | -0 | VML_STATUS_SING | ZERODIVIDE |
+∞ | +0 | ||
x < 0 (including -∞) | SNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |