Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / lib / msun / man / j0.3
1 .\" Copyright (c) 1985, 1991 Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     from: @(#)j0.3  6.7 (Berkeley) 4/19/91
33 .\" $FreeBSD: src/lib/msun/man/j0.3,v 1.8.2.3 2001/12/17 10:08:36 ru Exp $
34 .\" $DragonFly: src/lib/msun/man/Attic/j0.3,v 1.2 2003/06/17 04:26:52 dillon Exp $
35 .\"
36 .Dd April 19, 1991
37 .Dt J0 3
38 .Os
39 .Sh NAME
40 .Nm j0 ,
41 .Nm j0f ,
42 .Nm j1 ,
43 .Nm j1f ,
44 .Nm jn ,
45 .Nm jnf ,
46 .Nm y0 ,
47 .Nm y0f ,
48 .Nm y1 ,
49 .Nm y1f ,
50 .Nm yn ,
51 .Nm ynf
52 .Nd Bessel functions of first and second kind
53 .Sh LIBRARY
54 .Lb libm
55 .Sh SYNOPSIS
56 .In math.h
57 .Ft double
58 .Fn j0 "double x"
59 .Ft float
60 .Fn j0f "float x"
61 .Ft double
62 .Fn j1 "double x"
63 .Ft float
64 .Fn j1f "float x"
65 .Ft double
66 .Fn jn "int n" "double x"
67 .Ft float
68 .Fn jnf "int n" "float x"
69 .Ft double
70 .Fn y0 "double x"
71 .Ft float
72 .Fn y0f "float x"
73 .Ft double
74 .Fn y1 "double x"
75 .Ft float
76 .Fn y1f "float x"
77 .Ft double
78 .Fn yn "int n" "double x"
79 .Ft float
80 .Fn ynf "int n" "float x"
81 .Sh DESCRIPTION
82 The functions
83 .Fn j0 ,
84 .Fn j0f ,
85 .Fn j1
86 and
87 .Fn j1f
88 compute the
89 .Em Bessel function of the first kind of the order
90 0 and the
91 .Em order
92 1, respectively,
93 for the
94 real value
95 .Fa x ;
96 the functions
97 .Fn jn
98 and
99 .Fn jnf
100 compute the
101 .Em Bessel function of the first kind of the integer
102 .Em order
103 .Fa n
104 for the real value
105 .Fa x .
106 .Pp
107 The functions
108 .Fn y0 ,
109 .Fn y0f ,
110 .Fn y1 ,
111 and
112 .Fn y1f
113 compute the linearly independent
114 .Em Bessel function of the second kind of the order
115 0 and the
116 .Em order
117 1, respectively,
118 for the
119 positive
120 .Em real
121 value
122 .Fa x ;
123 the functions
124 .Fn yn
125 and
126 .Fn ynf
127 compute the
128 .Em Bessel function of the second kind for the integer
129 .Em order
130 .Fa n
131 for the positive
132 .Em real
133 value
134 .Fa x .
135 .Sh RETURN VALUES
136 If these functions are successful,
137 the computed value is returned.
138 On the
139 .Tn VAX
140 and
141 .Tn Tahoe
142 architectures,
143 for the Bessel functions of the second kind,
144 a negative
145 or zero
146 .Fa x
147 value
148 results in an error; the global
149 variable
150 .Va errno
151 is set to
152 .Er EDOM
153 and a reserve operand fault is generated.
154 .Sh SEE ALSO
155 .Xr math 3
156 .Sh HISTORY
157 This set of functions
158 appeared in
159 .At v7 .