BESSEL(S) XENIX System V BESSEL(S)
Name
bessel, j0, j1, jn, y0, y1, yn - Performs Bessel functions.
Syntax
#include <math.h>
double j0 (x)
double x;
double j1 (x)
double x;
double jn (n, x)
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. The value of x must be
positive.
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.
See Also
matherr(S)
Diagnostics
Negative arguments cause y0, y1, and yn to return a -HUGE
value and to set errno to EDOM. In addition, a message
indicating DOMAIN error is displayed on the standard error
output. Arguments too large in magnitude cause j0, j1, and
y1 to return zero and to set errno to ERANGE. In addition,
a message indicating TLOSS error is displayed on the
standard error output. These error-handling procedures can
be changed with the matherr(S) function.
Notes
These routines must be linked by using the -lm linker
option.
Page 1 (printed 8/7/87)