Commit | Line | Data |
---|---|---|
ae59e04c CL |
1 | .\" Copyright (c) 1985, 1991 Regents of the University of California. |
2 | .\" All rights reserved. | |
f9628029 | 3 | .\" |
ae59e04c | 4 | .\" %sccs.include.redist.man% |
f9628029 | 5 | .\" |
ae59e04c CL |
6 | .\" @(#)j0.3 6.7 (Berkeley) %G% |
7 | .\" | |
8 | .Dd | |
9 | .Dt J0 3 | |
10 | .Os BSD 4 | |
11 | .Sh NAME | |
12 | .Nm j0 , | |
13 | .Nm j1 , | |
14 | .Nm jn , | |
15 | .Nm y0 , | |
16 | .Nm y1 , | |
17 | .Nm yn | |
18 | .Nd bessel functions of first and second kind | |
19 | .Sh SYNOPSIS | |
20 | .Fd #include <math.h> | |
21 | .Ft double | |
22 | .Fn j0 "double x" | |
23 | .Ft double | |
24 | .Fn j1 "double x" | |
25 | .Ft double | |
26 | .Fn jn "int n" "double x" | |
27 | .Ft double | |
28 | .Fn y0 "double x" | |
29 | .Ft double | |
30 | .Fn y1 "double x" | |
31 | .Ft double | |
32 | .Fn yn "int n" "double x" | |
33 | .Sh DESCRIPTION | |
34 | The functions | |
35 | .Fn j0 | |
36 | and | |
37 | .Fn j1 | |
38 | compute the | |
39 | .Em Bessel function of the first kind of the order | |
40 | 0 and the | |
41 | .Em order | |
42 | 1, respectively, | |
43 | for the | |
44 | real value | |
45 | .Fa x ; | |
46 | the function | |
47 | .Fn jn | |
48 | computes the | |
49 | .Em Bessel function of the first kind of the integer order | |
50 | .Fa n | |
51 | for the real value | |
52 | .Fa x . | |
53 | .Pp | |
54 | The functions | |
55 | .Fn y0 | |
56 | and | |
57 | .Fn y1 | |
58 | compute the linearly independent | |
59 | .Em Bessel function of the second kind of the order | |
60 | 0 and the | |
61 | .Em order | |
62 | 1, respectively, | |
63 | for the | |
64 | postive | |
65 | .Em integer | |
66 | value | |
67 | .Fa x | |
68 | (expressed as a double); | |
69 | the function | |
70 | .Fn yn | |
71 | computes the | |
72 | .Em Bessel function of the second kind for the integer order | |
73 | .Fa n | |
74 | for the postive | |
75 | .Em integer | |
76 | value | |
77 | .Fa x | |
78 | (expressed as a double). | |
79 | .Sh RETURN VALUES | |
80 | If these functions are successful, | |
81 | the computed value is returned. On the | |
82 | .Tn VAX | |
83 | and | |
84 | .Tn Tahoe | |
85 | architectures, | |
86 | a negative | |
87 | .Fa x | |
88 | value | |
89 | results in an error; the global | |
90 | variable | |
91 | .Va errno | |
92 | is set to | |
93 | .Er EDOM | |
94 | and a reserve operand fault is generated. | |
95 | .Sh SEE ALSO | |
96 | .Xr math 3 , | |
97 | .Xr infnan 3 | |
98 | .Sh HISTORY | |
99 | A set of these functions | |
100 | function appeared in | |
101 | .At v7 . |