octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64801] besselj(1, z) is not pure imaginary f


From: Lapresté Jean-Thierry
Subject: [Octave-bug-tracker] [bug #64801] besselj(1, z) is not pure imaginary for pure imaginary inputs
Date: Sat, 21 Oct 2023 10:45:23 -0400 (EDT)

Follow-up Comment #2, bug #64801 (project octave):

[(Erreur - Introuvable)]
it's surely a bug as the error on the real part seems to tend to infinity as
the i coef increase.

 besselj(1,1.e-300+100i)
ans =  6.541875770923201e+25 + 1.068369390338163e+42i

>>  besseli(1,1.e-300i+100)
ans =  1.068369390338163e+42 - 1.489643709947372e-45i

also the relation between besseli(1,z) and besselj(1,iz) is broken even for
non pure imaginaries.

perhaps as besseli seems correct a workaround would be for n=1 to define
bessej(1,...) in term of besseli ? 

In fact do you use amos fortran here ? Is it the extern implementation which
has problems ?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64801>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]