[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: Mon, 20 Aug 2012 13:43:06 +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 #46, bug #36732 (project octave):

I think the current implementation does qualify as a function.  There is only
one output for a given input.

I must admit, I'm not sure how what interp1 ([1 2 2 3], [1 2 3 4], 2) should
return. Thus, I think the point on ambiguity is apt.  The current sources
returns 3.  Is this what is desired?  If so, perhaps that should be made clear
in the documentation.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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