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

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

[Octave-bug-tracker] [bug #43855] Matlab compatibility: allow indexing o


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #43855] Matlab compatibility: allow indexing of sparse matrix with an N-D Array
Date: Sat, 20 Dec 2014 13:30:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Update of bug #43855 (project octave):

                  Status:                    None => Need Info              
                 Release:                   3.6.4 => dev                    

    _______________________________________________________

Follow-up Comment #1:

Since sparse arrays have at most two dimensions, it looks like the third and
higher dimensions of the index are smashed into the second?  If so, this
should be fairly easy to fix.  To be clear, what is the result of something
like


s = sparse (rand(1,1)); s(ones(2,3,4))


Does that produce a 2x12 sparse array?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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