HP-UX Reference (11i v2 03/08) - 3 Library Functions A-M (vol 6)

j
j0(3M) 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.
USAGE
To use these functions, compile either with the default
-Ae option or with the -Aa and
-D_HPUX_SOURCE
options. Make sure your program includes <math.h>. 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.
ERRORS
No errors are defined.
SEE ALSO
y0(3M), math(5).
M. Abramowitz and I. Stegun,
Handbook of Mathematical Functions (New York: Dover Publi-
cations, 1972).
STANDARDS CONFORMANCE
j0(): SVID3, XPG4.2
j1(): SVID3, XPG4.2
jn(): SVID3, XPG4.2
Section 3556 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003