13a8617a8SJordan K. Hubbard.\" Copyright (c) 1985, 1991 Regents of the University of California. 23a8617a8SJordan K. Hubbard.\" All rights reserved. 33a8617a8SJordan K. Hubbard.\" 43a8617a8SJordan K. Hubbard.\" Redistribution and use in source and binary forms, with or without 53a8617a8SJordan K. Hubbard.\" modification, are permitted provided that the following conditions 63a8617a8SJordan K. Hubbard.\" are met: 73a8617a8SJordan K. Hubbard.\" 1. Redistributions of source code must retain the above copyright 83a8617a8SJordan K. Hubbard.\" notice, this list of conditions and the following disclaimer. 93a8617a8SJordan K. Hubbard.\" 2. Redistributions in binary form must reproduce the above copyright 103a8617a8SJordan K. Hubbard.\" notice, this list of conditions and the following disclaimer in the 113a8617a8SJordan K. Hubbard.\" documentation and/or other materials provided with the distribution. 123a8617a8SJordan K. Hubbard.\" 3. All advertising materials mentioning features or use of this software 133a8617a8SJordan K. Hubbard.\" must display the following acknowledgement: 143a8617a8SJordan K. Hubbard.\" This product includes software developed by the University of 153a8617a8SJordan K. Hubbard.\" California, Berkeley and its contributors. 163a8617a8SJordan K. Hubbard.\" 4. Neither the name of the University nor the names of its contributors 173a8617a8SJordan K. Hubbard.\" may be used to endorse or promote products derived from this software 183a8617a8SJordan K. Hubbard.\" without specific prior written permission. 193a8617a8SJordan K. Hubbard.\" 203a8617a8SJordan K. Hubbard.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 213a8617a8SJordan K. Hubbard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 223a8617a8SJordan K. Hubbard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 233a8617a8SJordan K. Hubbard.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 243a8617a8SJordan K. Hubbard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 253a8617a8SJordan K. Hubbard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 263a8617a8SJordan K. Hubbard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 273a8617a8SJordan K. Hubbard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 283a8617a8SJordan K. Hubbard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 293a8617a8SJordan K. Hubbard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 303a8617a8SJordan K. Hubbard.\" SUCH DAMAGE. 313a8617a8SJordan K. Hubbard.\" 323a8617a8SJordan K. Hubbard.\" from: @(#)j0.3 6.7 (Berkeley) 4/19/91 337f3dea24SPeter Wemm.\" $FreeBSD$ 343a8617a8SJordan K. Hubbard.\" 353a8617a8SJordan K. Hubbard.Dd April 19, 1991 363a8617a8SJordan K. Hubbard.Dt J0 3 37a307d598SRuslan Ermilov.Os 383a8617a8SJordan K. Hubbard.Sh NAME 393a8617a8SJordan K. Hubbard.Nm j0 , 407a15a32aSJordan K. Hubbard.Nm j0f , 413a8617a8SJordan K. Hubbard.Nm j1 , 427a15a32aSJordan K. Hubbard.Nm j1f , 433a8617a8SJordan K. Hubbard.Nm jn , 447a15a32aSJordan K. Hubbard.Nm jnf , 453a8617a8SJordan K. Hubbard.Nm y0 , 467a15a32aSJordan K. Hubbard.Nm y0f , 473a8617a8SJordan K. Hubbard.Nm y1 , 487a15a32aSJordan K. Hubbard.Nm y1f , 497a15a32aSJordan K. Hubbard.Nm yn , 507a15a32aSJordan K. Hubbard.Nm ynf 515308354bSBruce Evans.Nd Bessel functions of first and second kind 523a8617a8SJordan K. Hubbard.Sh SYNOPSIS 533a8617a8SJordan K. Hubbard.Fd #include <math.h> 543a8617a8SJordan K. Hubbard.Ft double 553a8617a8SJordan K. Hubbard.Fn j0 "double x" 567a15a32aSJordan K. Hubbard.Ft float 577a15a32aSJordan K. Hubbard.Fn j0f "float x" 583a8617a8SJordan K. Hubbard.Ft double 593a8617a8SJordan K. Hubbard.Fn j1 "double x" 607a15a32aSJordan K. Hubbard.Ft float 617a15a32aSJordan K. Hubbard.Fn j1f "float x" 623a8617a8SJordan K. Hubbard.Ft double 633a8617a8SJordan K. Hubbard.Fn jn "int n" "double x" 647a15a32aSJordan K. Hubbard.Ft float 657a15a32aSJordan K. Hubbard.Fn jnf "int n" "float x" 663a8617a8SJordan K. Hubbard.Ft double 673a8617a8SJordan K. Hubbard.Fn y0 "double x" 687a15a32aSJordan K. Hubbard.Ft float 697a15a32aSJordan K. Hubbard.Fn y0f "float x" 703a8617a8SJordan K. Hubbard.Ft double 713a8617a8SJordan K. Hubbard.Fn y1 "double x" 727a15a32aSJordan K. Hubbard.Ft float 737a15a32aSJordan K. Hubbard.Fn y1f "float x" 743a8617a8SJordan K. Hubbard.Ft double 753a8617a8SJordan K. Hubbard.Fn yn "int n" "double x" 767a15a32aSJordan K. Hubbard.Ft float 777a15a32aSJordan K. Hubbard.Fn ynf "int n" "float x" 783a8617a8SJordan K. Hubbard.Sh DESCRIPTION 793a8617a8SJordan K. HubbardThe functions 807a15a32aSJordan K. Hubbard.Fn j0 , 817a15a32aSJordan K. Hubbard.Fn j0f , 823a8617a8SJordan K. Hubbard.Fn j1 837a15a32aSJordan K. Hubbardand 847a15a32aSJordan K. Hubbard.Fn j1f 853a8617a8SJordan K. Hubbardcompute the 863a8617a8SJordan K. Hubbard.Em Bessel function of the first kind of the order 873a8617a8SJordan K. Hubbard0 and the 883a8617a8SJordan K. Hubbard.Em order 893a8617a8SJordan K. Hubbard1, respectively, 903a8617a8SJordan K. Hubbardfor the 913a8617a8SJordan K. Hubbardreal value 923a8617a8SJordan K. Hubbard.Fa x ; 937a15a32aSJordan K. Hubbardthe functions 943a8617a8SJordan K. Hubbard.Fn jn 957a15a32aSJordan K. Hubbardand 967a15a32aSJordan K. Hubbard.Fn jnf 977a15a32aSJordan K. Hubbardcompute the 985308354bSBruce Evans.Em Bessel function of the first kind of the integer 995308354bSBruce Evans.Em order 1003a8617a8SJordan K. Hubbard.Fa n 1013a8617a8SJordan K. Hubbardfor the real value 1023a8617a8SJordan K. Hubbard.Fa x . 1033a8617a8SJordan K. Hubbard.Pp 1043a8617a8SJordan K. HubbardThe functions 1057a15a32aSJordan K. Hubbard.Fn y0 , 1067a15a32aSJordan K. Hubbard.Fn y0f , 1077a15a32aSJordan K. Hubbard.Fn y1 , 1083a8617a8SJordan K. Hubbardand 1097a15a32aSJordan K. Hubbard.Fn y1f 1103a8617a8SJordan K. Hubbardcompute the linearly independent 1113a8617a8SJordan K. Hubbard.Em Bessel function of the second kind of the order 1123a8617a8SJordan K. Hubbard0 and the 1133a8617a8SJordan K. Hubbard.Em order 1143a8617a8SJordan K. Hubbard1, respectively, 1153a8617a8SJordan K. Hubbardfor the 1163a8617a8SJordan K. Hubbardpositive 1175308354bSBruce Evans.Em real 1183a8617a8SJordan K. Hubbardvalue 1195308354bSBruce Evans.Fa x ; 1207a15a32aSJordan K. Hubbardthe functions 1213a8617a8SJordan K. Hubbard.Fn yn 1227a15a32aSJordan K. Hubbardand 1237a15a32aSJordan K. Hubbard.Fn ynf 1247a15a32aSJordan K. Hubbardcompute the 1255308354bSBruce Evans.Em Bessel function of the second kind for the integer 1265308354bSBruce Evans.Em order 1273a8617a8SJordan K. Hubbard.Fa n 1283a8617a8SJordan K. Hubbardfor the positive 1295308354bSBruce Evans.Em real 1303a8617a8SJordan K. Hubbardvalue 1315308354bSBruce Evans.Fa x . 1323a8617a8SJordan K. Hubbard.Sh RETURN VALUES 1333a8617a8SJordan K. HubbardIf these functions are successful, 134c6ff3a1bSSheldon Hearnthe computed value is returned. 135c6ff3a1bSSheldon HearnOn the 1363a8617a8SJordan K. Hubbard.Tn VAX 1373a8617a8SJordan K. Hubbardand 1383a8617a8SJordan K. Hubbard.Tn Tahoe 1393a8617a8SJordan K. Hubbardarchitectures, 1405308354bSBruce Evansfor the Bessel functions of the second kind, 1413a8617a8SJordan K. Hubbarda negative 1425308354bSBruce Evansor zero 1433a8617a8SJordan K. Hubbard.Fa x 1443a8617a8SJordan K. Hubbardvalue 1453a8617a8SJordan K. Hubbardresults in an error; the global 1463a8617a8SJordan K. Hubbardvariable 1473a8617a8SJordan K. Hubbard.Va errno 1483a8617a8SJordan K. Hubbardis set to 1493a8617a8SJordan K. Hubbard.Er EDOM 1503a8617a8SJordan K. Hubbardand a reserve operand fault is generated. 1513a8617a8SJordan K. Hubbard.Sh SEE ALSO 1524bd9ba3cSMike Pritchard.Xr math 3 1533a8617a8SJordan K. Hubbard.Sh HISTORY 1543a8617a8SJordan K. HubbardThis set of functions 1553a8617a8SJordan K. Hubbardappeared in 1563a8617a8SJordan K. Hubbard.At v7 . 157