3276
|
1 ## Copyright (C) 1996, 1997 John W. Eaton |
|
2 ## |
|
3 ## This file is part of Octave. |
|
4 ## |
|
5 ## Octave is free software; you can redistribute it and/or modify it |
|
6 ## under the terms of the GNU General Public License as published by |
7016
|
7 ## the Free Software Foundation; either version 3 of the License, or (at |
|
8 ## your option) any later version. |
3276
|
9 ## |
|
10 ## Octave is distributed in the hope that it will be useful, but |
|
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 ## General Public License for more details. |
|
14 ## |
|
15 ## You should have received a copy of the GNU General Public License |
7016
|
16 ## along with Octave; see the file COPYING. If not, see |
|
17 ## <http://www.gnu.org/licenses/>. |
3276
|
18 |
3321
|
19 ## -*- texinfo -*- |
|
20 ## @deftypefn {Mapping Function} {} besseli (@var{alpha}, @var{x}) |
|
21 ## @deftypefnx {Mapping Function} {} besselj (@var{alpha}, @var{x}) |
|
22 ## @deftypefnx {Mapping Function} {} besselk (@var{alpha}, @var{x}) |
|
23 ## @deftypefnx {Mapping Function} {} bessely (@var{alpha}, @var{x}) |
|
24 ## Compute Bessel functions of the following types: |
3426
|
25 ## |
3321
|
26 ## @table @code |
|
27 ## @item besselj |
|
28 ## Bessel functions of the first kind. |
3426
|
29 ## |
3321
|
30 ## @item bessely |
|
31 ## Bessel functions of the second kind. |
3426
|
32 ## |
3321
|
33 ## @item besseli |
|
34 ## Modified Bessel functions of the first kind. |
3426
|
35 ## |
3321
|
36 ## @item besselk |
|
37 ## Modified Bessel functions of the second kind. |
|
38 ## @end table |
3426
|
39 ## |
3321
|
40 ## The second argument, @var{x}, must be a real matrix, vector, or scalar. |
3426
|
41 ## |
3321
|
42 ## The first argument, @var{alpha}, must be greater than or equal to zero. |
|
43 ## If @var{alpha} is a range, it must have an increment equal to one. |
3426
|
44 ## |
3321
|
45 ## If @var{alpha} is a scalar, the result is the same size as @var{x}. |
3426
|
46 ## |
3321
|
47 ## If @var{alpha} is a range, @var{x} must be a vector or scalar, and the |
|
48 ## result is a matrix with @code{length(@var{x})} rows and |
|
49 ## @code{length(@var{alpha})} columns. |
|
50 ## @end deftypefn |
3276
|
51 |
|
52 function bessel () |
|
53 error ("bessel: you must use besselj, bessely, besseli, or besselk"); |
|
54 endfunction |
3321
|
55 |