9 BASICS
9.1. Matrices as collections of column vectors
Matrices can be viewed simply as a collection of column vectors of same size, that is, as a collection of points in a multi-dimensional space.
A matrix can be described as follows: given vectors in we can define the matrix with ‘s as columns:
Geometrically, represents points in an -dimensional space.
The notation denotes the set of matrices.
With our convention, a column vector in is thus a matrix in , while a row vector in is a matrix in .
9.2. Transpose
The notation denotes the element of in row and column . The transpose of a matrix , denoted by , is the matrix with element at the position, with and .
9.3. Matrices as collections of rows
Similarly, we can describe a matrix in row-wise manner: given vectors in , we can define the matrix with the transposed vectors as rows:
Geometrically, represents points in a -dimensional space.
Example 1: Consider the matrix |
|
The matrix can be interpreted as the collection of two column vectors: , where ‘s contain the columns of : |
|
Geometrically, represents points in a -dimensional space. |
Alternatively, we can interpret as a collection of 3-row vectors in . |
|
where ‘s, contain the rows of : |
|
Geometrically, represents 3 points in a 2-dimensional space. |
See also:
9.4. Sparse Matrices
In many applications, one has to deal with very large matrices that are sparse, that is, they have many zeros. It often makes sense to use a sparse storage convention to represent the matrix.
One of the most common formats involves only listing the non-zero elements, and their associated locations in the matrix.