HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)
j
j0(3M) j0(3M)
NAME
j0(), j0f(), j1(), j1f(), jn( ), jnf( ) - Bessel functions of the first kind
SYNOPSIS
#include <math.h>
double j0(double x);
double j1(double x);
double jn(int n, double x);
HP Integrity Server Only
float j0f(float x);
float j1f(float x);
float jnf(int n, float 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.
j0f(), j1f(), and jnf() are float versions of j0(), j1(), snd jn(); each takes a
float argu-
ment x and returns a
float result.
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 Publications, 1972).
STANDARDS CONFORMANCE
j0(): SVID3, XPG4.2
j1(): SVID3, XPG4.2
jn(): SVID3, XPG4.2
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 709