Copyright © 1997 The Open Group

j0, j1, jn - Bessel functions of the first kind

`#include <math.h> double j0(double`

x); double j1(doublex); double jn(intn, doublex);

Thej0(),j1()andjn()functions compute Bessel functions ofxof the first kind of orders 0, 1 andnrespectively.An application wishing to check for error situations should set

errnoto 0 before callingj0(),j1()orjn(). Iferrnois non-zero on return, or the return value is NaN, an error has occurred.

Upon successful completion,j0(),j1()andjn()return the relevant Bessel value ofxof the first kind.If the

xargument is too large in magnitude, 0 is returned anderrnomay be set to [ERANGE].If

xis NaN, NaN is returned anderrnomay be set to [EDOM].If the correct result would cause underflow, 0 is returned and

errnomay be set to [ERANGE].

Thej0(),j1()andjn()functions may fail if:

- [EDOM]
- The value of
xis NaN.- [ERANGE]
- The value of
xwas too large in magnitude, or underflow occurred.No other errors will occur.

None.

None.

None.

isnan(),y0(),<math.h>.

Derived from Issue 1 of the SVID.

Copyright © 1997 The Open Group

[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]