[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: |
Francesco Potortì |
Subject: |
[Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity |
Date: |
Mon, 20 Aug 2012 11:18:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0 |
Follow-up Comment #37, 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
most 2 consecutive points with the same value.
Most probably, this means that, once the X are sorted, any repeated points
should be in couples (i.e. three consecutive repeated points are not allowed),
but there is no limit on the number of couples.
>The discontinuous interpolant is rightcontinuous 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.
This makes little sense, because X is sorted in increasing order anyway.
Maybe this was a comment written at a time when there was no sorting in place,
which would also explain the reason why the text requires monotonicity.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36732>
_______________________________________________
Messaggio inviato con/da 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/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
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 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, Ben Abbott, 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, Ben Abbott, 2012/08/19
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/19
- Re: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Francesco Potortì, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity,
Francesco Potortì <=
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/20
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/20
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/20
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/21