BESSEL(3m,L) AIX Technical Reference BESSEL(3m,L) ------------------------------------------------------------------------------- bessel: j0, j1, jn, y0, y1, yn PURPOSE Computes Bessel functions. LIBRARY Math Library (libm.a) SYNTAX #include double j0 (x) double y0 (x) double x; double x; double j1 (x) double y1 (x) double x; double x; double jn (n, x) double yn (n, x) int n; int n; double x; double x; DESCRIPTION The j0 and j1 subroutines 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. The y0 and y1 subroutines return the 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. Non-positive parameters cause y0, y1, and yn to return the value HUGE, to set errno to EDOM, and to write a message to the standard error output indicating a DOMAIN error. Parameters that are too large in magnitude cause j0, j1, y0, and y1 to return as much of the result as possible, to set errno to ERANGE, and to write a message to the standard error output indicating a TLOSS error. You can change these error-handling procedures with the matherr subroutine. Processed November 7, 1990 BESSEL(3m,L) 1 BESSEL(3m,L) AIX Technical Reference BESSEL(3m,L) ERROR CONDITIONS The j0, j1, jn, y0, y1, and yn subroutines fail if one or more of the following is true: EDOM The value of x is NaN. ERANGE The value of x was too large in magnitude. RELATED INFORMATION In this book: "matherr." Processed November 7, 1990 BESSEL(3m,L) 2