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

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

[Octave-bug-tracker] [bug #41459] interp2 should ignore * method flag fo


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #41459] interp2 should ignore * method flag for faster interpolation
Date: Sun, 23 Feb 2014 18:20:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.123 Safari/537.36

Update of bug #41459 (project octave):

                Category:                    None => Octave Function        
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

I see we do handle the "*" modifier in the interp1 function already. So you're
saying this should apply to interp2 as well? What about interp3 or interpn? I
don't see any mention of the "*" modifier on any of the Matlab help pages, is
this an undocumented or legacy Matlab feature?

It would be good to patch all of them at once, and follow the pattern of
interp1 even if we don't handle the flag for now to make it easier to compare
all 4 functions. Something like this maybe? Completely untested:


## FIXME: Handle starmethod interpolation
starmethod = method(1) == "*";
if (starmethod)
  method(1) = [];
  warning (...)
endif


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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