octave-bug-tracker
[Top][All Lists]
Advanced

[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: Tue, 26 Jun 2012 12:16:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20100101 Firefox/10.0.5 Iceweasel/10.0.5

URL:
  <http://savannah.gnu.org/bugs/?36732>

                 Summary: interp1 does not check input for monotonicity
                 Project: GNU Octave
            Submitted by: pot
            Submitted on: Tue 26 Jun 2012 02:16:20 PM CEST
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Francesco Potortì
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This one should give an error:

interp1([1:5 4:9], 1:11, 4)

In fact, it gives out 4.  The first argument is not checked.

Also, the documentation should say "strictly monotonic" where it currently
says "monotonic".




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36732>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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