[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62209] interpn: Incorrect results for certain
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #62209] interpn: Incorrect results for certain choices of input |
Date: |
Tue, 22 Mar 2022 03:18:34 -0400 (EDT) |
Follow-up Comment #1, bug #62209 (project octave):
Not a bug. From interpn help:
The parameters Y1, Y2, ..., YN represent the points at which the
array VI is interpolated. They can be vectors of the same length
and orientation in which case they are interpreted as coordinates
of scattered points. If they are vectors of differing orientation
or length, they are used to form a grid in "ndgrid" format. They
can also be N-dimensional arrays of equal size.
Try transposing one of your inputs to (1:n)' and that will work.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62209>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/