Last Updated 10/21/2022
Matrix Multiplications
Compute the product of the matrix and vector .
To define the vector v, we use the vector command. We use the “*” operator to compute Av.
Note that in the context of matrix-vector multiplication, the vectors defined this way are considered as both column and row vectors. SageMath automatically chooses the correct interpretation that results in valid multiplications.
Try this!
What happens if we try to compute vA for A and v as defined above?