comparison scripts/specfun/bessel.m @ 3321:6923abb04e16

[project @ 1999-10-26 18:15:30 by jwe]
author jwe
date Tue, 26 Oct 1999 18:15:41 +0000
parents edf6e4852287
children f8dde1807dee
comparison
equal deleted inserted replaced
3320:b0b71d14dab9 3321:6923abb04e16
15 ## You should have received a copy of the GNU General Public License 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 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
18 ## 02111-1307, USA. 18 ## 02111-1307, USA.
19 19
20 ## The following functions are available for computing the values of 20 ## -*- texinfo -*-
21 ## Bessel functions: 21 ## @deftypefn {Mapping Function} {} besseli (@var{alpha}, @var{x})
22 ## 22 ## @deftypefnx {Mapping Function} {} besselj (@var{alpha}, @var{x})
23 ## besselj (alpha, x) Bessel functions of the first kind 23 ## @deftypefnx {Mapping Function} {} besselk (@var{alpha}, @var{x})
24 ## bessely (alpha, x) Bessel functions of the second kind 24 ## @deftypefnx {Mapping Function} {} bessely (@var{alpha}, @var{x})
25 ## besseli (alpha, x) modified Bessel functions of the first kind 25 ## Compute Bessel functions of the following types:
26 ## besselk (alpha, x) modified Bessel functions of the second kind 26 ##
27 ## 27 ## @table @code
28 ## X must be a real matrix, vector or scalar. 28 ## @item besselj
29 ## 29 ## Bessel functions of the first kind.
30 ## If ALPHA is a scalar, the result is the same size as X. If ALPHA is 30 ##
31 ## a range, X must be a vector or scalar, and the result is a matrix 31 ## @item bessely
32 ## with length(X) rows and length(ALPHA) columns. 32 ## Bessel functions of the second kind.
33 ## 33 ##
34 ## ALPHA must be greater than or equal to zero. If ALPHA is a range, it 34 ## @item besseli
35 ## must have an increment equal to one. 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
36 52
37 function bessel () 53 function bessel ()
38 error ("bessel: you must use besselj, bessely, besseli, or besselk"); 54 error ("bessel: you must use besselj, bessely, besseli, or besselk");
39 endfunction 55 endfunction
56