Skip to content
Prev 25364 / 63424 Next

two bessel function bugs for nu<0

I can reproduce both these bugs and confirm that the suggested fix
agrees with Mathematica and Maple for a few trial values.

I can confirm that Hiroyuki's algebra is indeed
consistent with AMS-55 equation 9.1.2
and the old source isn't.   I'd need more
time to look at equation 9.6.2.

I'm not sure why, in bessel_i.c, we are using a float ("expo")
and a long ("ize") as a Boolean [flag to indicate whether or not
to return scaled function values].

PS1:
My first thought was to check against the GSL library
but  this doesn't allow non-integer orders for besselI()

PS2: The source code apologizes for the method used,
suggesting that it may be numerically and computationally
"sub-optimal".

Best wishes

rksh
On 18 Jun 2007, at 23:33, Hiroyuki Kawakatsu wrote:

            
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743