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