BESSEL(3M) — Silicon Graphics
NAME
j0, j1, jn, y0, y1, yn − Bessel functions
SYNOPSIS
#include <math.h>
long float j0 (x)
long float x;
long float j1 (x)
long float x;
long float jn (n, x)
int n;
long float x;
long float y0 (x)
long float x;
long float y1 (x)
long float x;
long float yn (n, x)
int n;
long 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.
Y0 and y1 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.
DIAGNOSTICS
The routines comprising bessel use the standard IRIS floating point exception handling system. Certain arguments to y0,y1,yn,j0,j1, and jn raise a floating point exception with the operation set to MATH and the global _mathfunc_id indicating the routine raising the exception. The exception type (the type field of the global _fperror structure) is set as indicated below:
| input value | exception type |
| NaN | INVALID_OP_A |
| ∞ | INVALID_OP_F2 |
| < 0.0 | DOMAIN_ERROR |
| > ~2e102 | UNDERFL |
| > 2e8 | PARTIAL_SLOSS |
| < ~.4e-102 | OVERFL |
SEE ALSO
fpsigset(3C), IRIS Floating Point, IRIS Workstation Guide.
Version 2.5r1 — October 29, 1986