[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matri
From: |
Gunnar Farnebäck |
Subject: |
[Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation |
Date: |
Thu, 21 Oct 2010 19:07:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.14) Gecko/20101020 Iceweasel/3.5.13 (like Firefox/3.5.13) |
Follow-up Comment #5, bug #31352 (project octave):
__splinen__ is the function used for the spline method in the existing
interp2.
newbicubic seems to work well computationally and is simpler and faster than
bicubic, as well as additionally supporting scattered interpolation points. It
does miss a bit of flexibility (meshgridded X, Y), however, and some bells and
whistles (extrapval and spline_alpha).
I haven't tried to run the latest newinterp2 yet but looking at the code it
isn't clear to me why you rewrite the input parsing. That part of the code
looks fine in the existing interp2. To me it seems easier to fix the
shortcomings in interp2 than to rewrite from scratch.
I attach a patch adding testcases for interp2 when called with vector-valued
Xi and Yi. A number of them are not currently passing.
/Gunnar
(file #21748)
_______________________________________________________
Additional Item Attachment:
File name: interp2_testcases.diff Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31352>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, anonymous, 2010/10/16
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Thorsten Meyer, 2010/10/18
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/19
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Gunnar Farnebäck, 2010/10/19
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/20
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation,
Gunnar Farnebäck <=
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/22
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/25
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Gunnar Farnebäck, 2010/10/25
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/26