[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: Sun, 19 Aug 2012 21:16:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

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

I noticed an added feature of interp1 which appears
not to be documented:  The X vector is sorted before
the interpolation is done.  This surely added to
the confusion following the original bug report.

For now, I have put the tests for distinct and
duplicated values ahead of the sort.  But, it may
make sense, once users realize that X is sorted, to
put the test after the sort.

Anyhow, the tests now seem to work.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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