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: Rik
Subject: [Octave-bug-tracker] [bug #52074] Missing integration functions integral2, integral3
Date: Thu, 21 Sep 2017 20:21:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

Let me see if I can modify quadcc to take an abstol parameter.  I looked very
briefly and it looked feasible.  If it is, I would like to follow the example
of quad which is documented as


The optional argument TOL is a vector that specifies the desired
accuracy of the result.  The first element of the vector is the
desired absolute tolerance, and the second element is the desired
relative tolerance.  To choose a relative test only, set the
absolute tolerance to zero.  To choose an absolute test only, set
the relative tolerance to zero.  Both tolerances default to 'sqrt
(eps)' or approximately 1.5e^{-8}.


First, I think quadcc should default, like all the other quad routines, to use
AbsTol if only a single tolerance value is given.  By accepting a vector
quadcc can check for a scalar TOL and set AbsTol or a 2-element vector and set
AbsTol and RelTol.  We can keep the sensible default of 1e-6 for RelTol if it
is left unspecified.


    _______________________________________________________

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]