1J0(3) Linux Programmer's Manual J0(3)
2
3
4
6 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl, y0, y0f, y0l, y1, y1f, y1l,
7 yn, ynf, ynl - Bessel functions
8
10 #define _GNU_SOURCE
11 #include <math.h>
12
13 double j0(double x);
14 double j1(double x);
15 double jn(int n, double x);
16 double y0(double x);
17 double y1(double x);
18 double yn(int n, double x);
19
20 float j0f(float x);
21 float j1f(float x);
22 float jnf(int n, float x);
23 float y0f(float x);
24 float y1f(float x);
25 float ynf(int n, float x);
26
27 long double j0l(long double x);
28 long double j1l(long double x);
29 long double jnl(int n, long double x);
30 long double y0l(long double x);
31 long double y1l(long double x);
32 long double ynl(int n, long double x);
33
34 Link with -lm.
35
37 The j0() and j1() functions return Bessel functions of x of the first
38 kind of orders 0 and 1, respectively. The jn() function returns the
39 Bessel function of x of the first kind of order n.
40
41 The y0() and y1() functions return Bessel functions of x of the second
42 kind of orders 0 and 1, respectively. The yn() function returns the
43 Bessel function of x of the second kind of order n.
44
45 For the functions y0(), y1() and yn(), the value of x must be positive.
46 For negative values of x, these functions return -HUGE_VAL.
47
48 The j0f() etc. and j0l() etc. functions are versions that take and
49 return float and long double values, respectively.
50
52 The functions returning double conform to SVr4, 4.3BSD, POSIX.1-2001.
53
55 There are errors of up to 2e-16 in the values returned by j0(), j1()
56 and jn() for values of x between -8 and 8.
57
59 feature_test_macros(7)
60
61
62
63 2002-08-25 J0(3)