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

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

[Octave-bug-tracker] [bug #42037] Missing function integral


From: Rik
Subject: [Octave-bug-tracker] [bug #42037] Missing function integral
Date: Wed, 20 Sep 2017 13:30:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #42037 (project octave):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #20:

I checked in a slightly different change here
(http://hg.savannah.gnu.org/hgweb/octave/rev/6570fdb7d3a0).  A lot of users
will be scientists, not mathematicians, so rather than give them vague advice
as Matlab does, "Single precision integrations may require larger tolerances",
I chose to use the sensible defaults that quadgk has.  They can always try
again if their integration fails, but this will allow most integrands to
complete successfully.

Also, I redid the precisions in the BIST tests.  The tolerance argument of the
assert() function is an absolute tolerance when TOL is positive and a relative
tolerance when TOL is negative.  I used this fact to match a BIST test where
AbsTol is specified to a positive TOL for assert() and vice versa if RelTol
was specified.

I think enough progress has been made to close this report.

Incidentally, integral2 can probably be implemented similarly as a wrapper
around dblquad.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42037>

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




reply via email to

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