xref: /netbsd-src/lib/libm/man/j0.3 (revision eb7c1594f145c931049e1fd9eb056a5987e87e59)
161f28255Scgd.\" Copyright (c) 1985, 1991 Regents of the University of California.
261f28255Scgd.\" All rights reserved.
361f28255Scgd.\"
461f28255Scgd.\" Redistribution and use in source and binary forms, with or without
561f28255Scgd.\" modification, are permitted provided that the following conditions
661f28255Scgd.\" are met:
761f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
861f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
961f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1161f28255Scgd.\"    documentation and/or other materials provided with the distribution.
12*eb7c1594Sagc.\" 3. Neither the name of the University nor the names of its contributors
1361f28255Scgd.\"    may be used to endorse or promote products derived from this software
1461f28255Scgd.\"    without specific prior written permission.
1561f28255Scgd.\"
1661f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1761f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1861f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1961f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2061f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2161f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2261f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2361f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2461f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2561f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2661f28255Scgd.\" SUCH DAMAGE.
2761f28255Scgd.\"
28dfb9caabSmycroft.\"     from: @(#)j0.3	6.7 (Berkeley) 4/19/91
29*eb7c1594Sagc.\"	$NetBSD: j0.3,v 1.16 2003/08/07 16:44:48 agc Exp $
3061f28255Scgd.\"
3161f28255Scgd.Dd April 19, 1991
3261f28255Scgd.Dt J0 3
33af726e9cSchristos.Os
3461f28255Scgd.Sh NAME
3561f28255Scgd.Nm j0 ,
36f8173630Skleink.Nm j0f ,
3761f28255Scgd.Nm j1 ,
38f8173630Skleink.Nm j1f ,
3961f28255Scgd.Nm jn ,
40f8173630Skleink.Nm jnf ,
4161f28255Scgd.Nm y0 ,
42f8173630Skleink.Nm y0f ,
4361f28255Scgd.Nm y1 ,
44f8173630Skleink.Nm y1f ,
45f8173630Skleink.Nm yn ,
46f8173630Skleink.Nm ynf
47ca9aafe2Sperry.Nd Bessel functions of first and second kind
48312aca53Sperry.Sh LIBRARY
49312aca53Sperry.Lb libm
5061f28255Scgd.Sh SYNOPSIS
51472351e1Swiz.In math.h
5261f28255Scgd.Ft double
5361f28255Scgd.Fn j0 "double x"
54df8b005fSjtc.Ft float
55df8b005fSjtc.Fn j0f "float x"
5661f28255Scgd.Ft double
5761f28255Scgd.Fn j1 "double x"
58df8b005fSjtc.Ft float
59df8b005fSjtc.Fn j1f "float x"
6061f28255Scgd.Ft double
6161f28255Scgd.Fn jn "int n" "double x"
62df8b005fSjtc.Ft float
63df8b005fSjtc.Fn jnf "int n" "float x"
6461f28255Scgd.Ft double
6561f28255Scgd.Fn y0 "double x"
66df8b005fSjtc.Ft float
67df8b005fSjtc.Fn y0f "float x"
6861f28255Scgd.Ft double
6961f28255Scgd.Fn y1 "double x"
70df8b005fSjtc.Ft float
71df8b005fSjtc.Fn y1f "float x"
7261f28255Scgd.Ft double
7361f28255Scgd.Fn yn "int n" "double x"
74df8b005fSjtc.Ft float
75df8b005fSjtc.Fn ynf "int n" "float x"
7661f28255Scgd.Sh DESCRIPTION
7761f28255ScgdThe functions
78df8b005fSjtc.Fn j0 ,
79df8b005fSjtc.Fn j0f ,
8061f28255Scgd.Fn j1
81df8b005fSjtcand
82df8b005fSjtc.Fn j1f
8361f28255Scgdcompute the
8461f28255Scgd.Em Bessel function of the first kind of the order
8561f28255Scgd0 and the
8661f28255Scgd.Em order
8761f28255Scgd1, respectively,
8861f28255Scgdfor the
8961f28255Scgdreal value
9061f28255Scgd.Fa x ;
91df8b005fSjtcthe functions
9261f28255Scgd.Fn jn
93df8b005fSjtcand
94df8b005fSjtc.Fn jnf
95df8b005fSjtccompute the
9661f28255Scgd.Em Bessel function of the first kind of the integer order
9761f28255Scgd.Fa n
9861f28255Scgdfor the real value
9961f28255Scgd.Fa x .
10061f28255Scgd.Pp
10161f28255ScgdThe functions
102df8b005fSjtc.Fn y0 ,
103df8b005fSjtc.Fn y0f ,
10461f28255Scgd.Fn y1
105df8b005fSjtcand
106df8b005fSjtc.Fn y1f
10761f28255Scgdcompute the linearly independent
10861f28255Scgd.Em Bessel function of the second kind of the order
10961f28255Scgd0 and the
11061f28255Scgd.Em order
11161f28255Scgd1, respectively,
11261f28255Scgdfor the
113a0726790Sjtcpositive
11461f28255Scgd.Em integer
11561f28255Scgdvalue
11661f28255Scgd.Fa x
11761f28255Scgd(expressed as a double);
118df8b005fSjtcthe functions
11961f28255Scgd.Fn yn
120df8b005fSjtcand
121df8b005fSjtc.Fn ynf
122df8b005fSjtccompute the
12361f28255Scgd.Em Bessel function of the second kind for the integer order
12461f28255Scgd.Fa n
125a0726790Sjtcfor the positive
12661f28255Scgd.Em integer
12761f28255Scgdvalue
12861f28255Scgd.Fa x
12961f28255Scgd(expressed as a double).
13061f28255Scgd.Sh RETURN VALUES
13161f28255ScgdIf these functions are successful,
132af726e9cSchristosthe computed value is returned, otherwise
133af726e9cSchristosthe global
13461f28255Scgdvariable
13561f28255Scgd.Va errno
13661f28255Scgdis set to
13761f28255Scgd.Er EDOM
13861f28255Scgdand a reserve operand fault is generated.
139af726e9cSchristos.\" On the
140af726e9cSchristos.\" .Tn VAX
141af726e9cSchristos.\" and
142af726e9cSchristos.\" .Tn Tahoe
143af726e9cSchristos.\" architectures, a negative
144af726e9cSchristos.\" .Fa x
145af726e9cSchristos.\" value
146af726e9cSchristos.\" results in an error.
14761f28255Scgd.Sh SEE ALSO
148af726e9cSchristos.Xr math 3
149af726e9cSchristos.\" .Xr matherr 3
15061f28255Scgd.Sh HISTORY
15116587251SjtcThis set of functions
15216587251Sjtcappeared in
15361f28255Scgd.At v7 .
154