|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #47699] FLTK can segfault after using copyobj |
Date: | Fri, 22 Apr 2016 16:52:32 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #47699 (project octave): Status: None => Confirmed _______________________________________________________ Follow-up Comment #2: Answering the question in the second part of comment #1, yes, it is valid syntax. The suffix (:)' universally transforms whatever array precedes it into a row vector. This is required because the Octave/Matlab for loop operates over columns supplying one column per iteration of the loop. Here's an example magic(3)(:)' ans = 8 3 4 1 5 9 6 7 2 for x = magic(3)(:)' disp (x); endfor 8 3 4 1 5 9 6 7 2 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47699> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |