|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #50776] Octave inconsistent with Matlab for corner indexing case |
Date: | Wed, 12 Apr 2017 12:39:24 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #9, bug #50776 (project octave): I didn't change anything about the way index values are stored, just what happens with the dimensions. Now we handle indices as "vectors" if they have all but one dimension equal to 1. Yes, logical indices can be stored as vectors but only if the number of true values is small. See the idx_vector::idx_vector (const Array<bool>& bnda) constructor in idx-vector.cc. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50776> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |