[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: |
Fri, 17 Aug 2012 17:09:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 |
Follow-up Comment #14, bug #36732 (project octave):
Vivek,
Your explanation shows why strict monotonicity
is required. The function should generate an
error. Matlab does:
>> interp1 ([1,2,2,3,4],[0,1,4,2,1],[-1,1.5,2,2.5,3.5], 'linear', 'extrap'),
[-2,0.5,4,3,1.5]
??? Error using ==> interp1 at 261
The values of X should be distinct.
But, I think that it would be better to say "strictly monotonic"
instead of "distinct."
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36732>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, (continued)
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity,
Michael Godfrey <=
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/18
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/18
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/18
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19
- Message not available
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19