1J0(3) Linux Programmer's Manual J0(3)
2
3
4
6 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl - Bessel functions of the
7 first kind
8
10 #include <math.h>
11
12 double j0(double x);
13 double j1(double x);
14 double jn(int n, double x);
15
16 float j0f(float x);
17 float j1f(float x);
18 float jnf(int n, float x);
19
20 long double j0l(long double x);
21 long double j1l(long double x);
22 long double jnl(int n, long double x);
23
24 Link with -lm.
25
26 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
27
28 j0(), j1(), jn():
29 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
30 j0f(), j0l(), j1f(), j1l(), jnf(), jnl():
31 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE >= 600
32
34 The j0() and j1() functions return Bessel functions of x of the first
35 kind of orders 0 and 1, respectively. The jn() function returns the
36 Bessel function of x of the first kind of order n.
37
38 The j0f() etc. and j0l() etc. functions are versions that take and
39 return float and long double values, respectively.
40
42 On success, these functions return the appropriate Bessel value of the
43 first kind for x.
44
45 If x is a NaN, a NaN is returned.
46
47 If x is too large in magnitude, or the result underflows, a range error
48 occurs, and the return value is 0.
49
51 See math_error(7) for information on how to determine whether an error
52 has occurred when calling these functions.
53
54 The following errors can occur:
55
56 Range error: result underflow, or x is too large in magnitude
57 errno is set to ERANGE.
58
59 These functions do not raise exceptions for fetestexcept(3).
60
62 The functions returning double conform to SVr4, 4.3BSD, POSIX.1-2001.
63 The others are nonstandard functions that also exist on the BSDs.
64
66 There are errors of up to 2e-16 in the values returned by j0(), j1()
67 and jn() for values of x between -8 and 8.
68
70 y0(3)
71
73 This page is part of release 3.53 of the Linux man-pages project. A
74 description of the project, and information about reporting bugs, can
75 be found at http://www.kernel.org/doc/man-pages/.
76
77
78
79 2010-09-20 J0(3)