Bessel Functions: _y0, _y1, _yn
Compute the Bessel function.
double _y0(
double x
);
double _y1(
double x
);
double _yn(
int n,
double x
);
Параметры
x
Floating-point value.n
Integer order of Bessel function.
Возвращаемое значение
Each routine returns a Bessel function of x. If x is negative, the routine sets errno to EDOM, prints a _DOMAIN error message to stderr, and returns _HUGE_VAL. You can modify error handling by using _matherr.
Заметки
The _y0, _y1, and _yn routines return Bessel functions of the second kind: orders 0, 1, and n, respectively.
Input |
SEH Exception |
Matherr Exception |
---|---|---|
± QNAN,IND |
INVALID |
_DOMAIN |
± 0 |
ZERODIVIDE |
_SING |
|x|<0.0 |
INVALID |
_DOMAIN |
Требования
Routine |
Required header |
---|---|
_y0 |
<math.h> |
_y1 |
<math.h> |
_yn |
<math.h> |
For additional compatibility information, see Compatibility in the Introduction.
Пример
See Bessel Functions for an example.
Эквивалент в .NET Framework
Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.