[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45542] griddatan unable to perform 4-dimensio
From: |
Juho Iipponen |
Subject: |
[Octave-bug-tracker] [bug #45542] griddatan unable to perform 4-dimensional interpolation. |
Date: |
Mon, 20 Jul 2015 13:11:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
Follow-up Comment #1, bug #45542 (project octave):
Taking the transpose of "y(tri(tri_list,:))" before multiplication (see
original submission) seems to be the correct course of action. However, it
only works if a point lies within the convex hull, when both vectors to be
multiplied are non-empty. Therefore, I have added a guard before that line:
if ~isempty(bary_list)
yi(valid) = sum (y(tri(tri_list,:))' .* bary_list, 2);
end
I have attached the fixed griddatan.m function, but I would want someone more
knowledgeable to have a look at it.
(file #34467)
_______________________________________________________
Additional Item Attachment:
File name: griddatan.m Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45542>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/