[Scilab-users] Strange behaviour with for loops

Samuel Gougeon sgougeon at free.fr
Wed Sep 30 09:50:52 CEST 2015


Hello Pierre,
Le 29/09/2015 16:20, Pierre Vuillemin a écrit :
> Hello,
> In the help, it is specified that the syntax 'for e = l ...' when l is 
> a list is authorised. When l is replaced by a vector, the result 
> appears to depend on whether its a column or row vector :
> .../...
> Is this behaviour intended?
.
Yes, and it is as well documented:
-->help for
"Description: .../... If expression is a matrix or a row vector, 
variable takes as values the values of each column of the matrix."

Samuel Gougeon




More information about the users mailing list