BESSEL(3M) DOMAIN/IX SYS5 BESSEL(3M)
NAME
j0, j1, jn, y0, y1, yn - Bessel functions
USAGE
#include <math.h>
double j0 (x)
double x;
double j1 (x)
double x;
double jn (n, x)
int n;
double x;
double y0 (x)
double x;
double y1 (x)
double x;
double yn (n, x)
int n;
double x;
DESCRIPTION
J0 and j1 return Bessel functions of x of the first kind of
orders 0 and 1 respectively. Jn returns the Bessel function
of x of the first kind of order n.
Y0 and y1 return Bessel functions of x of the second kind of
orders 0 and 1 respectively. Yn returns the Bessel function
of x of the second kind of order n. The value of x must be
positive.
DIAGNOSTICS
If given a non-positive argument, y0, y1 and yn return the
value -HUGE, set errno to EDOM, and print a message indicat-
ing a DOMAIN error on the standard error output.
Arguments too large in magnitude cause j0, j1, y0 and y1 to
return zero, set errno to ERANGE, and print a message indi-
cating a TLOSS error on the standard error output.
These error-handling procedures may be changed using the
function matherr(3M).
Printed 12/4/86 BESSEL-1
BESSEL(3M) DOMAIN/IX SYS5 BESSEL(3M)
NOTE
User programs that call this routine but do not link with
libm.a will, instead, reference an older routine included in
/lib/clib. Support for the old (in clib) routines will be
discontinued in a future release. See intro(3M).
RELATED INFORMATION
matherr(3M)
BESSEL-2 Printed 12/4/86