[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: Vivek
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Fri, 17 Aug 2012 18:09:19 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1

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

I guess, there is no need for strictly monotonicity. 
What should be strictly monotonic? X or Y? 

See, putting a restriction over X being strictly monotonic doesn't make sense,
it is the relation between X and Y that matters. The relation can be many to
one or one to one but not many to one. i.e. only restriction should be that
values of X have to be distinct. 

Because I can always rearrange the order of X-values and correspondingly
Y-values will change. 

There is no need for function to be strictly monotonic (sin(X)?)

I guess we should relax strictly monotonicity, only restriction should be that
X should have distinct values.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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