Module Library |
COLVEC Function |
converts a matrix into a column vector
where matrix is any matrix.
The COLVEC function returns an vector. It converts a matrix into a column vector in row-major order. The returned vector has 1 column and rows. The first elements in the vector correspond to the first row of the input matrix, the next elements correspond to the second row, and so on.
Copyright © SAS Institute, Inc. All Rights Reserved.