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

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

[Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate r


From: Rik
Subject: [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf
Date: Wed, 4 May 2022 13:33:35 -0400 (EDT)

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

I would also note that there is a page in the Octave manual about selecting
the correct numerical quadrature function based on the characteristics of the
input integrand.  'quad' is recommended for Low accuracy and non-smooth
integrands.  However, quadcc is general purpose offering Low to High accuracy,
smooth or non-smooth integrands, discontinuities, oscillatory functions,
finite or infinite limits.  In short, it's a good all-around choice when not
much is known about the integrand itself.  Because it is written in C++ it is
also fast.

I think we should modify quadcc to check whether it has met its relative and
absolute tolerance tests at the end of integration.  If the user has not
requested the ERR output then it should issue a warning.  Otherwise, it should
stay quiet and assume that since the programmer has requested the ERR output
they will be checking for convergence themselves.


    _______________________________________________________

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]