[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate r
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf |
Date: |
Wed, 4 May 2022 13:49:59 -0400 (EDT) |
Follow-up Comment #7, bug #62412 (project octave):
@jwe, Re: comment #5: of course. poor wording.
https://www.mathworks.com/help/matlab/ref/integral.html
shows only
Syntax
q = integral(fun,xmin,xmax)
q = integral(fun,xmin,xmax,Name,Value)
so, since matlab's integral only has one return variable, us adding optional
additional sholudn't break compatability (unless they change their interface
of course.)
@rik, that sounds like a good plan. so (1) mod quadcc to warn as you said. (2)
maybe add warning output option to integral that should get something to pass
along from whichever integrator it calls?
is there thought to be any need establish a path by which integral calls quad?
would have to make quite a few changes to the desicison tree for that i think,
and the recursion issue remains. integral doesn't have a 'choose your
integrator' option as a name/value parameter set, but adding one would be one
way to enable quad without playing with selection logic, and it wouldn't break
compatability. (i think dblquad and triplequad do that). At that point
though... I'd say just call the one you want directly.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62412>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, anonymous, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, John W. Eaton, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/05