summaryrefslogtreecommitdiffstats
path: root/man3/j0.3
blob: 4d6a7fa819a9dd9e7b9d3aa13f0c6790315f40ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\" May be distributed under the GNU General Public License
.\" References consulted:
.\"     Linux libc source code
.\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\"     386BSD man pages
.\" Modified Sat Jul 24 19:08:17 1993 by Rik Faith (faith@cs.unc.edu)
.TH J0 3  "June 26, 1993" "" "Linux Programmer's Manual"
.SH NAME
j0, j1, jn, y0, y1, yn \- Bessel functions
.SH SYNOPSIS
.nf
.B #include <math.h>
.sp
.BI "double j0(double " x );
.sp
.BI "double j1(double " x );
.sp
.BI "double jn(int " n ", double " x );
.sp
.BI "double y0(double " x );
.sp
.BI "double y1(double " x );
.sp
.BI "double yn(int " n ", double " x );
.fi
.SH DESCRIPTION
The \fBj0()\fP and \fBj1()\fP functions return Bessel functions of \fIx\fP
of the first kind of orders 0 and 1, respectively.  The \fBjn()\fP function
returns the Bessel function of \fIx\fP of the first kind of order \fIn\fP.
.PP
The \fBy0()\fP and \fBy1()\fP functions return Bessel functions of \fIx\fP
of the second kind of orders 0 and 1, respectively.  The \fByn()\fP function
returns the Bessel function of \fIx\fP of the second kind of order \fIn\fP.
.PP
For the functions \fBy0()\fP, \fBy1()\fP and \fByn()\fP, the value of \fIx\fP
must be positive.  For negative values of \fIx\fP, these functions return
-HUGE_VAL.
.SH "CONFORMING TO"
SVID 3, BSD 4.3
.SH BUGS
There are errors of up to 2e-16 in the values returned by \fBj0()\fP,
\fBj1()\fP and \fBjn()\fP for values of \fIx\fP between -8 and 8.