In RPN mode, try the following eight examples:
A 2 2
`
A 2 3
`
A 3 2
`
A 3 3
`
Multiplication
There are different multiplication operations that involve matrices. These are
described next. The examples are shown in algebraic mode.
Multiplication by a scalar
Some examples of multiplication of a matrix by a scalar are shown below.
Matrix-vector multiplication
Matrix-vector multiplication is possible only if the number of columns of the
matrix is equal to the length of the vector. A couple of examples of matrix-
vector multiplication follow:
Vector-matrix multiplication, on the other hand, is not defined. This
multiplication can be performed, however, as a special case of matrix
multiplication as defined next.
B 2 2
A 2 2
` +
`
B 2 3
A 2 3
` +
`
B 3 2
A 3 2
` +
`
B 3 3
A 3 3
` +
`
B 2 2
` -
B 2 3
` -
B 3 2
` -
B 3 3
` -
Page 9-4