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

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

[Octave-bug-tracker] [bug #56393] missing deval function for ode


From: Rik
Subject: [Octave-bug-tracker] [bug #56393] missing deval function for ode
Date: Mon, 27 May 2019 13:51:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56393 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #4:

The Matlab documentation speaks of the output being interpolated, but does not
seem to describe how smooth the result should be.  Is it linear, cubic?  The
second output of the deval function is a list of first derivatives at the
desired points x which suggests that the output is only linear.

In that case, rather than a for loop with polyfit/polyval (which will be slow
because of interpreted loops), it might be better to use interp1 and create a
'PP' structure which can then be evaluated in a single operation.

Another possibility would be to use griddatan which relies on a Delaunay
triangulation and might be faster, although not if you need the first
derivatives as a potential output. 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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