xref: /dflybsd-src/contrib/openbsd_libm/man/j0.3 (revision 4382f29d99a100bd77a81697c2f699c11f6a472a)
1*05a0b428SJohn Marino.\"	$OpenBSD: j0.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
2*05a0b428SJohn Marino.\" Copyright (c) 1985, 1991 Regents of the University of California.
3*05a0b428SJohn Marino.\" All rights reserved.
4*05a0b428SJohn Marino.\"
5*05a0b428SJohn Marino.\" Redistribution and use in source and binary forms, with or without
6*05a0b428SJohn Marino.\" modification, are permitted provided that the following conditions
7*05a0b428SJohn Marino.\" are met:
8*05a0b428SJohn Marino.\" 1. Redistributions of source code must retain the above copyright
9*05a0b428SJohn Marino.\"    notice, this list of conditions and the following disclaimer.
10*05a0b428SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright
11*05a0b428SJohn Marino.\"    notice, this list of conditions and the following disclaimer in the
12*05a0b428SJohn Marino.\"    documentation and/or other materials provided with the distribution.
13*05a0b428SJohn Marino.\" 3. Neither the name of the University nor the names of its contributors
14*05a0b428SJohn Marino.\"    may be used to endorse or promote products derived from this software
15*05a0b428SJohn Marino.\"    without specific prior written permission.
16*05a0b428SJohn Marino.\"
17*05a0b428SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18*05a0b428SJohn Marino.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19*05a0b428SJohn Marino.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20*05a0b428SJohn Marino.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21*05a0b428SJohn Marino.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22*05a0b428SJohn Marino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23*05a0b428SJohn Marino.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24*05a0b428SJohn Marino.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25*05a0b428SJohn Marino.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26*05a0b428SJohn Marino.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27*05a0b428SJohn Marino.\" SUCH DAMAGE.
28*05a0b428SJohn Marino.\"
29*05a0b428SJohn Marino.\"     from: @(#)j0.3	6.7 (Berkeley) 4/19/91
30*05a0b428SJohn Marino.\"
31*05a0b428SJohn Marino.Dd $Mdocdate: July 17 2013 $
32*05a0b428SJohn Marino.Dt J0 3
33*05a0b428SJohn Marino.Os
34*05a0b428SJohn Marino.Sh NAME
35*05a0b428SJohn Marino.Nm j0 ,
36*05a0b428SJohn Marino.Nm j0f ,
37*05a0b428SJohn Marino.Nm j1 ,
38*05a0b428SJohn Marino.Nm j1f ,
39*05a0b428SJohn Marino.Nm jn ,
40*05a0b428SJohn Marino.Nm jnf ,
41*05a0b428SJohn Marino.Nm y0 ,
42*05a0b428SJohn Marino.Nm y0f ,
43*05a0b428SJohn Marino.Nm y1 ,
44*05a0b428SJohn Marino.Nm y1f ,
45*05a0b428SJohn Marino.Nm yn ,
46*05a0b428SJohn Marino.Nm ynf
47*05a0b428SJohn Marino.Nd Bessel functions of first and second kind
48*05a0b428SJohn Marino.Sh SYNOPSIS
49*05a0b428SJohn Marino.In math.h
50*05a0b428SJohn Marino.Ft double
51*05a0b428SJohn Marino.Fn j0 "double x"
52*05a0b428SJohn Marino.Ft float
53*05a0b428SJohn Marino.Fn j0f "float x"
54*05a0b428SJohn Marino.Ft double
55*05a0b428SJohn Marino.Fn j1 "double x"
56*05a0b428SJohn Marino.Ft float
57*05a0b428SJohn Marino.Fn j1f "float x"
58*05a0b428SJohn Marino.Ft double
59*05a0b428SJohn Marino.Fn jn "int n" "double x"
60*05a0b428SJohn Marino.Ft float
61*05a0b428SJohn Marino.Fn jnf "int n" "float x"
62*05a0b428SJohn Marino.Ft double
63*05a0b428SJohn Marino.Fn y0 "double x"
64*05a0b428SJohn Marino.Ft float
65*05a0b428SJohn Marino.Fn y0f "float x"
66*05a0b428SJohn Marino.Ft double
67*05a0b428SJohn Marino.Fn y1 "double x"
68*05a0b428SJohn Marino.Ft float
69*05a0b428SJohn Marino.Fn y1f "float x"
70*05a0b428SJohn Marino.Ft double
71*05a0b428SJohn Marino.Fn yn "int n" "double x"
72*05a0b428SJohn Marino.Ft float
73*05a0b428SJohn Marino.Fn ynf "int n" "float x"
74*05a0b428SJohn Marino.Sh DESCRIPTION
75*05a0b428SJohn MarinoThe functions
76*05a0b428SJohn Marino.Fn j0
77*05a0b428SJohn Marinoand
78*05a0b428SJohn Marino.Fn j1
79*05a0b428SJohn Marinocompute the
80*05a0b428SJohn Marino.Em Bessel function of the first kind of the order
81*05a0b428SJohn Marino0 and the
82*05a0b428SJohn Marino.Em order
83*05a0b428SJohn Marino1, respectively,
84*05a0b428SJohn Marinofor the
85*05a0b428SJohn Marinoreal value
86*05a0b428SJohn Marino.Fa x ;
87*05a0b428SJohn Marinothe function
88*05a0b428SJohn Marino.Fn jn
89*05a0b428SJohn Marinocomputes the
90*05a0b428SJohn Marino.Em Bessel function of the first kind of the integer order
91*05a0b428SJohn Marino.Fa n
92*05a0b428SJohn Marinofor the real value
93*05a0b428SJohn Marino.Fa x .
94*05a0b428SJohn MarinoThe functions
95*05a0b428SJohn Marino.Fn j0f ,
96*05a0b428SJohn Marino.Fn j1f ,
97*05a0b428SJohn Marinoand
98*05a0b428SJohn Marino.Fn jnf
99*05a0b428SJohn Marinoare single precision versions of
100*05a0b428SJohn Marino.Fn j0 ,
101*05a0b428SJohn Marino.Fn j1 ,
102*05a0b428SJohn Marinoand
103*05a0b428SJohn Marino.Fn jn ,
104*05a0b428SJohn Marinorespectively.
105*05a0b428SJohn Marino.Pp
106*05a0b428SJohn MarinoThe functions
107*05a0b428SJohn Marino.Fn y0
108*05a0b428SJohn Marinoand
109*05a0b428SJohn Marino.Fn y1
110*05a0b428SJohn Marinocompute the linearly independent
111*05a0b428SJohn Marino.Em Bessel function of the second kind of the order
112*05a0b428SJohn Marino0 and the
113*05a0b428SJohn Marino.Em order
114*05a0b428SJohn Marino1, respectively,
115*05a0b428SJohn Marinofor the
116*05a0b428SJohn Marinopositive
117*05a0b428SJohn Marino.Em integer
118*05a0b428SJohn Marinovalue
119*05a0b428SJohn Marino.Fa x
120*05a0b428SJohn Marino(expressed as a double);
121*05a0b428SJohn Marinothe function
122*05a0b428SJohn Marino.Fn yn
123*05a0b428SJohn Marinocomputes the
124*05a0b428SJohn Marino.Em Bessel function of the second kind for the integer order
125*05a0b428SJohn Marino.Fa n
126*05a0b428SJohn Marinofor the positive
127*05a0b428SJohn Marino.Em integer
128*05a0b428SJohn Marinovalue
129*05a0b428SJohn Marino.Fa x
130*05a0b428SJohn Marino(expressed as a double).
131*05a0b428SJohn MarinoThe functions
132*05a0b428SJohn Marino.Fn y0f ,
133*05a0b428SJohn Marino.Fn y1f ,
134*05a0b428SJohn Marinoand
135*05a0b428SJohn Marino.Fn ynf
136*05a0b428SJohn Marinoare single precision versions of
137*05a0b428SJohn Marino.Fn y0 ,
138*05a0b428SJohn Marino.Fn y1 ,
139*05a0b428SJohn Marinoand
140*05a0b428SJohn Marino.Fn yn ,
141*05a0b428SJohn Marinorespectively.
142*05a0b428SJohn Marino.Sh RETURN VALUES
143*05a0b428SJohn MarinoIf these functions are successful,
144*05a0b428SJohn Marinothe computed value is returned, otherwise the global variable
145*05a0b428SJohn Marino.Va errno
146*05a0b428SJohn Marinois set to EDOM or ERANGE.
147*05a0b428SJohn Marino.Sh HISTORY
148*05a0b428SJohn MarinoThe functions
149*05a0b428SJohn Marino.Fn j0 ,
150*05a0b428SJohn Marino.Fn j1 ,
151*05a0b428SJohn Marino.Fn jn ,
152*05a0b428SJohn Marino.Fn y0 ,
153*05a0b428SJohn Marino.Fn y1 ,
154*05a0b428SJohn Marinoand
155*05a0b428SJohn Marino.Fn yn
156*05a0b428SJohn Marinofirst appeared in
157*05a0b428SJohn Marino.At v7 .
158