[Top][All Lists]

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

[Octave-bug-tracker] [bug #55622] for loop does not run over a matrix wi

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55622] for loop does not run over a matrix with colums but no row
Date: Fri, 1 Feb 2019 16:15:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #6, bug #55622 (project octave):

I had forgotten about the previous bug report but just found it now.  There, I
wrote, "These seem almost like some kind of accident of implementation rather
than conscious decisions about how things should work. But who knows, right?
Is this Matlab behavior documented anywhere?"  I suppose it is documented, in
that for loops are documented to iterate over the columns of a matrix.

BTW, what does the following do in Matlab?

for i = zeros (0, 3, 0)

Does it loop three times or not at all?


Reply to this item at:


  Message sent via Savannah

reply via email to

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