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

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

[Octave-bug-tracker] [bug #36732] interp1 does not check input for monot


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Sun, 19 Aug 2012 16:26:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

Follow-up Comment #21, bug #36732 (project octave):

I read the code and documentation more carefully.
It appears the a pair of duplicate points in X are
allowed.  The documentation is misleading in that
it also says that the X points must be monotonic
(not strictly monotonic).  This is not correct.

So, the new attached interp1_new.diff removes the
test for NO distinct points and corrects the interp1.txi
file.  There should be a test for only one duplicate
pair, so I inserted a FIXME: to that effect. This test
is to be written.

Does everyone agree that the (not Matlab compatible)
duplicate pair should be supported?

I am testing this now.  Comments?

(file #26392)
    _______________________________________________________

Additional Item Attachment:

File name: interp1_new.diff               Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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