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

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

[Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature f


From: Rik
Subject: [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge
Date: Wed, 11 May 2022 15:02:06 -0400 (EDT)

Follow-up Comment #23, bug #62412 (project octave):

I checked in a change to have quadgk behave in the same way as quadcc and
silence the warning when a second output is requested
(https://hg.savannah.gnu.org/hgweb/octave/rev/1fcfe9443917).

What remains seems to be how to have vectorized, "ArrayValued", integrations. 
I don't think we should modify quadv.m to have an ERR output.  For Matlab
compatibility, the second output must be the number of function evaluations. 
In addition, the Matlab documentation says that quadv() will be removed in a
future version and recommends using integral() with the "ArrayValued" option.

Michael speculated that it would not be too difficult to improve quadgk.m to
support this feature.  I think that is the best course and should become a new
issue report.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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