[Numpy-discussion] vec-operator
Nils Wagner
nwagner at isd.uni-stuttgart.de
Thu Jul 26 09:56:12 CDT 2001
Hi,
A matrix operation is that of stacking the columns of a
matrix one under the other to form a single column.
This operation is called "vec" or "cs" (c)olumn (s)tring
Example
A is a m * n matrix
vec(A) = reshape(transpose(A),(m*n,1))
How can I copy the result of vec(A) into the i-th column of another
matrix called B ?
Thanks in advance.
Nils
More information about the Numpy-discussion
mailing list