1J0(3)                      Linux Programmer's Manual                     J0(3)
2
3
4

NAME

6       j0,  j0f,  j0l,  j1,  j1f,  j1l, jn, jnf, jnl - Bessel functions of the
7       first kind
8

SYNOPSIS

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(): _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
29       j0f(), j0l(), j1f(), j1l(), jnf(), jnl(): _SVID_SOURCE || _BSD_SOURCE
30       || _XOPEN_SOURCE >= 600
31

DESCRIPTION

33       The  j0()  and j1() functions return Bessel functions of x of the first
34       kind of orders 0 and 1, respectively.  The jn()  function  returns  the
35       Bessel function of x of the first kind of order n.
36
37       The  j0f()  etc.  and  j0l()  etc. functions are versions that take and
38       return float and long double values, respectively.
39

RETURN VALUE

41       On success, these functions return the appropriate Bessel value of  the
42       first kind for x.
43
44       If x is a NaN, a NaN is returned.
45
46       If x is too large in magnitude, or the result underflows, a range error
47       occurs, and the return value is 0.
48

ERRORS

50       See math_error(7) for information on how to determine whether an  error
51       has occurred when calling these functions.
52
53       The following errors can occur:
54
55       Range error: result underflow, or x is too large in magnitude
56              errno is set to ERANGE.
57
58       These functions do not raise exceptions for fetestexcept(3).
59

CONFORMING TO

61       The  functions  returning double conform to SVr4, 4.3BSD, POSIX.1-2001.
62       The others are nonstandard functions that also exist on the BSDs.
63

BUGS

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

SEE ALSO

69       y0(3)
70

COLOPHON

72       This  page  is  part of release 3.25 of the Linux man-pages project.  A
73       description of the project, and information about reporting  bugs,  can
74       be found at http://www.kernel.org/doc/man-pages/.
75
76
77
78                                  2008-08-05                             J0(3)
Impressum