Mercurial > hg > octave-nkf
diff scripts/specfun/bessel.m @ 11904:059fadc0cbc3 release-3-0-x
fix scaling factor for negative alpha in zbesi,cbesi
add bessel function tests
add all scaling factors to bessel documentation
author | Brian Gough <bjg@gnu.org> |
---|---|
date | Mon, 12 Jan 2009 10:42:03 +0100 |
parents | ff2ff2c09865 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/scripts/specfun/bessel.m +++ b/scripts/specfun/bessel.m @@ -26,22 +26,24 @@ ## ## @table @code ## @item besselj -## Bessel functions of the first kind. +## Bessel functions of the first kind. If the argument @var{opt} is supplied, +## the result is multiplied by @code{exp(-abs(imag(x)))}. ## @item bessely -## Bessel functions of the second kind. +## Bessel functions of the second kind. If the argument @var{opt} is supplied, +## the result is multiplied by @code{exp(-abs(imag(x)))}. ## @item besseli -## Modified Bessel functions of the first kind. +## Modified Bessel functions of the first kind. If the argument @var{opt} is supplied, +## the result is multiplied by @code{exp(-abs(real(x)))}. ## @item besselk -## Modified Bessel functions of the second kind. +## Modified Bessel functions of the second kind. If the argument @var{opt} is supplied, +## the result is multiplied by @code{exp(x)}. ## @item besselh ## Compute Hankel functions of the first (@var{k} = 1) or second (@var{k} -## = 2) kind. +## = 2) kind. If the argument @var{opt} is supplied, the result is multiplied by +## @code{exp (-I*@var{x})} for @var{k} = 1 or @code{exp (I*@var{x})} for +## @var{k} = 2. ## @end table ## -## If the argument @var{opt} is supplied, the result is scaled by the -## @code{exp (-I*@var{x})} for @var{k} = 1 or @code{exp (I*@var{x})} for -## @var{k} = 2. -## ## If @var{alpha} is a scalar, the result is the same size as @var{x}. ## If @var{x} is a scalar, the result is the same size as @var{alpha}. ## If @var{alpha} is a row vector and @var{x} is a column vector, the