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

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

[Octave-bug-tracker] [bug #46349] dblquad/triplequad - periodic function


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #46349] dblquad/triplequad - periodic functions over the whole period
Date: Thu, 05 Nov 2015 09:31:16 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

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

I think it is related to the exit criteria used by quadl and quadcc, which,
from the documentation, are based on the relative error. In fact,


quadl(@(x) sin(2*pi*x),0,1)


does not terminate, as well (but quadcc does terminate). 

Long time ago I submitted a bug report (or I wrote to the mainling list, don't
remember) about the different exit criteria used by the different quadrature
functions. Moreover, quadl in Matlab uses an absolute tolerance. Probably for
quadl the best solution is to move to an absolute tolerance. I did not analyze
quadcc, yet.

Marco

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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