j0(3M)
NAME
j0(), j1(), jn() − Bessel functions of the first kind
SYNOPSIS
#include <math.h>
double j0(double x);
double j1(double x);
double jn(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.
To use these functions, link in the math library by specifying −lm on the compiler or linker command line.
RETURN VALUE
If x is NaN, j0(), j1(), and jn() return NaN.
If the correct result after rounding would be smaller in magnitude than MINDOUBLE, j0(), j1(), and jn() return zero.
ERRORS
No errors are defined.
SEE ALSO
M. Abramowitz and I. Stegun, Handbook of Mathematical Functions (New York: Dover Publications, 1972).
STANDARDS CONFORMANCE
j0(): SVID3, XPG4.2
j1(): SVID3, XPG4.2
jn(): SVID3, XPG4.2
Hewlett-Packard Company — HP-UX Release 10.20: July 1996