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

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

[Octave-patch-tracker] [patch #7738] Fix typos and errors in new bessel


From: Mike Miller
Subject: [Octave-patch-tracker] [patch #7738] Fix typos and errors in new bessel function tests
Date: Sat, 10 Mar 2012 21:07:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11

URL:
  <http://savannah.gnu.org/patch/?7738>

                 Summary: Fix typos and errors in new bessel function tests
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sat 10 Mar 2012 04:07:16 PM EST
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Please try out the attached patch to the recent new tests added by Robert T.
Short (cc'ed for comment as well).  I pulled out my copy of Abramowitz &
Stegun to double check the failing tests and found some missing negative
signs.  Also one of the calls to besselk was missing the last argument.

I also think the tolerance on the modified Bessel functions is too tight,
which is why it was failing for me, so I doubled it, see if that works for
you, but may still be too small.  For example, A&S Table 9.8 has
besselk(2,20,1) only to 8 significant digits and a tolerance of 1e-8 just
doesn't make sense.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 10 Mar 2012 04:07:16 PM EST  Name: octave-ab4676288414.patch  Size:
6kB   By: mtmiller

<http://savannah.gnu.org/patch/download.php?file_id=25316>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7738>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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