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 |
|
7 ## the Free Software Foundation; either version 2, or (at your option) |
|
8 ## any later version. |
|
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 |
|
16 ## along with Octave; see the file COPYING. If not, write to the Free |
|
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
|
18 ## 02111-1307, USA. |
|
19 |
3321
|
20 ## -*- texinfo -*- |
|
21 ## @deftypefn {Mapping Function} {} besseli (@var{alpha}, @var{x}) |
|
22 ## @deftypefnx {Mapping Function} {} besselj (@var{alpha}, @var{x}) |
|
23 ## @deftypefnx {Mapping Function} {} besselk (@var{alpha}, @var{x}) |
|
24 ## @deftypefnx {Mapping Function} {} bessely (@var{alpha}, @var{x}) |
|
25 ## Compute Bessel functions of the following types: |
|
26 ## |
|
27 ## @table @code |
|
28 ## @item besselj |
|
29 ## Bessel functions of the first kind. |
|
30 ## |
|
31 ## @item bessely |
|
32 ## Bessel functions of the second kind. |
|
33 ## |
|
34 ## @item besseli |
|
35 ## Modified Bessel functions of the first kind. |
|
36 ## |
|
37 ## @item besselk |
|
38 ## Modified Bessel functions of the second kind. |
|
39 ## @end table |
|
40 ## |
|
41 ## The second argument, @var{x}, must be a real matrix, vector, or scalar. |
|
42 ## |
|
43 ## The first argument, @var{alpha}, must be greater than or equal to zero. |
|
44 ## If @var{alpha} is a range, it must have an increment equal to one. |
|
45 ## |
|
46 ## If @var{alpha} is a scalar, the result is the same size as @var{x}. |
|
47 ## |
|
48 ## If @var{alpha} is a range, @var{x} must be a vector or scalar, and the |
|
49 ## result is a matrix with @code{length(@var{x})} rows and |
|
50 ## @code{length(@var{alpha})} columns. |
|
51 ## @end deftypefn |
3276
|
52 |
|
53 function bessel () |
|
54 error ("bessel: you must use besselj, bessely, besseli, or besselk"); |
|
55 endfunction |
3321
|
56 |