j0

NAME

j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl, y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl - Bessel functions

SYNOPSIS

#define _GNU_SOURCE
#include <math.h>
 I double j0(double  x );

I double j1(double x );
I double jn(int n , double x );
I double y0(double x );
I double y1(double x );
I double yn(int n , double x ); I float j0f(float x );
I float j1f(float x );
I float jnf(int n , float x );
I float y0f(float x );
I float y1f(float x );
I float ynf(int n , float x ); I long double j0l(long double x );
I long double j1l(long double x );
I long double jnl(int n , long double x );
I long double y0l(long double x );
I long double y1l(long double x );
I long double ynl(int n , long double x );
Link with -lm.

DESCRIPTION

The R j0 () and R j1 () functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The R jn () function returns the Bessel function of x of the first kind of order n.
The R y0 () and R y1 () functions return Bessel functions of x of the second kind of orders 0 and 1, respectively. The R yn () function returns the Bessel function of x of the second kind of order n.
For the functions R y0 (), R y1 () and R yn (), the value of x must be positive. For negative values of x, these functions return -HUGE_VAL.
The R j0f () etc. and R j0l () etc. functions are versions that take and return float and long double values, respectively.

CONFORMING TO

The functions returning double conform to SVr4, 4.3BSD, POSIX.1-2001.

BUGS

There are errors of up to 2e-16 in the values returned by R j0 (), R j1 () and R jn () for values of x between -8 and 8.

SEE ALSO