[Top][All Lists]

[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: Ben Abbott
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Tue, 21 Aug 2012 01:04:57 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25

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

After spending time experimenting (I apologize for not doing so earlier), it
appears to me that the original implementation of interp1.m was consistent
with its documentation.  I'm attaching a changeset which reverts the recent
change and makes some minor changes to the documentation.

I've also added two tests, and a demo, to clarify how the discontinuous
interpolation was implemented.

Since the documentation describes that the implementation permits a piece-wise
discontinuous interpolant, this doesn't quality as a bug.  If we are to change
the behavior, it should be discussed on the maintainers list and a consensus
reached before doing so (since it would break existing code).

I'll wait on discussion before I push the changeset.

(file #26404)

Additional Item Attachment:

File name: changeset.patch                Size:4 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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