Documentation Archive Developer
Search
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



J0(3)                    BSD Library Functions Manual                    J0(3)

NAME
     j0, j1, jn, y0, y1, yn -- bessel functions of first and second kind

SYNOPSIS
     #include <math.h>

     double
     j0(double x);

     double
     j1(double x);

     double
     jn(int n, double x);

     double
     y0(double x);

     double
     y1(double x);

     double
     yn(int n, double x);

DESCRIPTION
     The functions j0(x) and j1(x) compute the Bessel function of the first
     kind of the order 0 and the order 1, respectively; the function jn(n, x)
     computes the Bessel function of the first kind of the integer order n.

     The functions y0(x) and y1(x) compute the linearly independent Bessel
     function of the second kind of the order 0 and the order 1, respectively,
     for the positive integer value x (expressed as a double); the function
     yn(n, x) computes the Bessel function of the second kind for the integer
     order n for the positive integer value x (expressed as a double).

SPECIAL VALUES
     j0(0) returns 1.

     j0(+-infinity) returns 0.

     j0(NaN) returns a NaN.

     j1(0) returns 0.

     j1(+infinity) returns 0.

     j1(NaN) returns a NaN.

     y0(0) , y1(0) , and yn(n, 0) all return -infinity and raise the "divi-sion-by-zero" "division-by-zero"
     sion-by-zero" floating-point flag.

4th Berkeley Distribution        July 24, 2003       4th Berkeley Distribution