]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/j0.3
ffix
[thirdparty/man-pages.git] / man3 / j0.3
CommitLineData
fea681da
MK
1.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2.\"
3.\" Permission is granted to make and distribute verbatim copies of this
4.\" manual provided the copyright notice and this permission notice are
5.\" preserved on all copies.
6.\"
7.\" Permission is granted to copy and distribute modified versions of this
8.\" manual under the conditions for verbatim copying, provided that the
9.\" entire resulting derived work is distributed under the terms of a
10.\" permission notice identical to this one.
c13182ef 11.\"
fea681da
MK
12.\" Since the Linux kernel and libraries are constantly changing, this
13.\" manual page may be incorrect or out-of-date. The author(s) assume no
14.\" responsibility for errors or omissions, or for damages resulting from
15.\" the use of the information contained herein. The author(s) may not
16.\" have taken the same level of care in the production of this manual,
17.\" which is licensed free of charge, as they might when working
18.\" professionally.
c13182ef 19.\"
fea681da
MK
20.\" Formatted or processed versions of this manual, if unaccompanied by
21.\" the source, must acknowledge the copyright and authors of this work.
22.\"
23.\" References consulted:
24.\" Linux libc source code
25.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26.\" 386BSD man pages
27.\" Modified Sat Jul 24 19:08:17 1993 by Rik Faith (faith@cs.unc.edu)
28.\" Modified 2002-08-25, aeb
b4528020 29.\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
fea681da
MK
30.\"
31.TH J0 3 2002-08-25 "" "Linux Programmer's Manual"
32.SH NAME
33j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl,
34y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl \- Bessel functions
35.SH SYNOPSIS
36.nf
b4528020 37.B #define _GNU_SOURCE
fea681da
MK
38.B #include <math.h>
39.sp
40.BI "double j0(double " x );
41.br
42.BI "double j1(double " x );
43.br
44.BI "double jn(int " n ", double " x );
45.br
46.BI "double y0(double " x );
47.br
48.BI "double y1(double " x );
49.br
50.BI "double yn(int " n ", double " x );
51.sp
52.BI "float j0f(float " x );
53.br
54.BI "float j1f(float " x );
55.br
56.BI "float jnf(int " n ", float " x );
57.br
58.BI "float y0f(float " x );
59.br
60.BI "float y1f(float " x );
61.br
62.BI "float ynf(int " n ", float " x );
63.sp
64.BI "long double j0l(long double " x );
65.br
66.BI "long double j1l(long double " x );
67.br
68.BI "long double jnl(int " n ", long double " x );
69.br
70.BI "long double y0l(long double " x );
71.br
72.BI "long double y1l(long double " x );
73.br
74.BI "long double ynl(int " n ", long double " x );
75.fi
76.sp
e9329f6d 77Link with \fI-lm\fP.
fea681da 78.SH DESCRIPTION
60a90ecd
MK
79The
80.BR j0 ()
81and
82.BR j1 ()
83functions return Bessel functions of \fIx\fP
c13182ef 84of the first kind of orders 0 and 1, respectively.
60a90ecd
MK
85The
86.BR jn ()
87function
fea681da
MK
88returns the Bessel function of \fIx\fP of the first kind of order \fIn\fP.
89.PP
60a90ecd
MK
90The
91.BR y0 ()
92and
93.BR y1 ()
94functions return Bessel functions of \fIx\fP
c13182ef 95of the second kind of orders 0 and 1, respectively.
60a90ecd
MK
96The
97.BR yn ()
98function
fea681da
MK
99returns the Bessel function of \fIx\fP of the second kind of order \fIn\fP.
100.PP
60a90ecd
MK
101For the functions
102.BR y0 (),
103.BR y1 ()
104and
105.BR yn (),
106the value of \fIx\fP
c13182ef
MK
107must be positive.
108For negative values of \fIx\fP, these functions return
2f0af33b 109\-\fBHUGE_VAL\fP.
fea681da 110.PP
60a90ecd
MK
111The
112.BR j0f ()
113etc. and
114.BR j0l ()
115etc. functions are versions that take
c13182ef
MK
116and return
117.I float
118and
68e1685c
MK
119.I "long double"
120values, respectively.
fea681da 121.SH "CONFORMING TO"
c13182ef
MK
122The functions returning
123.I double
68e1685c
MK
124conform to SVr4, 4.3BSD,
125POSIX.1-2001.
fea681da 126.SH BUGS
60a90ecd
MK
127There are errors of up to 2e\-16 in the values returned by
128.BR j0 (),
129.BR j1 ()
130and
131.BR jn ()
132for values of \fIx\fP between \-8 and 8.
0a90178c
MK
133.SH "SEE ALSO"
134.BR feature_test_macros (7)