[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: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Mon, 20 Aug 2012 01:46:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

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

About non-distinct points, I am assuming that the
Manual is correct. It says in Section 29.1:

Duplicate points in x specify a discontinuous interpolant. There should be at
2 consecutive points with the same value. The discontinuous interpolant is
if x is increasing, left-continuous if it is decreasing. Discontinuities are
(currently) only allowed for "nearest" and "linear" methods; in all other
cases, x
must be strictly monotonic.

My current patch is attached.

(file #26395)

Additional Item Attachment:

File name: interp1.diff                   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]