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

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

[Octave-bug-tracker] [bug #52074] Missing integration functions integral


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #52074] Missing integration functions integral2, integral3
Date: Thu, 21 Sep 2017 13:46:51 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #52074 (project octave):

ok, attached are draft implementations of integral2 and integral3 and a patch
that adds them both plus modifies the other associated supporting files.

this basically puts in place the thoughts I listed comment #2, and it's at
least a functional compatibility fix. by no means is it optimal.

It calls quadgk by default, and allows turning off reltol. calling quadgk
instead of quadcc does impact integration accuracy. it's going to result in a
lot of integration accuracy warnings. I made the BISTs and limits specifically
to avoid those warnings. It wouldn't be difficult to throw out the RelTol =
off hack if we'd rather stick with quadcc and only abstol. 

integral3 is nearly identical to integral2, with the same implementation
issues.

(file #41856, file #41857, file #41858)
    _______________________________________________________

Additional Item Attachment:

File name: add_integral2and3_v1.diff      Size:19 KB
File name: integral2.m                    Size:7 KB
File name: integral3.m                    Size:8 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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