[Top][All Lists]

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

Re: Removing For Loops

From: CdeMills
Subject: Re: Removing For Loops
Date: Tue, 3 Aug 2010 05:39:32 -0700 (PDT)

dirac wrote:
> Thanks for the reply,
> does the (:) bit mean apply thorough the whole vector?

the '(:)' is the colon operator, meaning: transform the vector/matrix to a
single vector with only one column. In the case of matrix, columns are
appended vertically. Using the colon operator in the illustrated code ensure
it will work whatever the orientation of the input vector, column-wise or


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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