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 ![]() |
|
The matrix can be interpreted as the collection of two column vectors: ![]() ![]() ![]() |
|
Geometrically, ![]() ![]() ![]() |
Alternatively, we can interpret ![]() ![]() |
|
where ![]() ![]() ![]() |
|
Geometrically, ![]() |
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.