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

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

[Octave-bug-tracker] [bug #45589] sparse is fussy about dimension mismat


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #45589] sparse is fussy about dimension mismatching
Date: Thu, 23 Jul 2015 18:39:21 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #3, bug #45589 (project octave):

Just checked with A(:,1), A(1,:), 1:4 and (1:4)'. Matlab will accept any
combination.

It won't accept this abuse for non-vectors tho (sparse or full): A(:,1:2) =
randn(4,2) works but A(:,1:2) = randn(2,4) gives "Subscripted assignment
dimension mismatch", as you'd hope it would.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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