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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31733] error: ppval: expects a pp structure


From: Rik
Subject: [Octave-bug-tracker] [bug #31733] error: ppval: expects a pp structure
Date: Mon, 22 Nov 2010 21:49:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

Update of bug #31733 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Use 'help ppval' to get this


-- Function File: YI = ppval (PP, XI)
     Evaluate piece-wise polynomial PP at the points XI.


So, you need to reverse your argument list.

yy=ppval(p1,xx);


Matlab uses the same convention so I'm not sure what it was actually
calculating.  It would be better for Matlab to throw an error as well if the
function is not used correctly.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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