Module Library

ROWVEC Function

converts a matrix into a row vector

ROWVEC( matrix)

where matrix is any n x m matrix.

The ROWVEC function returns a 1 x nm vector. The specified matrix is converted into a row vector in row-major order. The returned vector has 1 row and nm columns. The first n elements in the vector correspond to the first row of the input matrix, the next n elements correspond to the second row, and so on.

Previous Page | Next Page | Top of Page