Question: Linear Algebra

I seem to be having some trouble with scalar multiplication. Perhaps you all can help out. Here is what I have; with(LinearAlgebra): A:= matrix(3,3,[1,2,3,4,5,6,7,8,9]); ScalarMultiply(A,3); I was hoping that would work, but after the ScalarMultiply command I get "Error, (in LinearAlgebra:-ScalarMultiply) expects its 1st argument, MV, to be of type {Matrix,Vector}, but received A" Any ideas where I am going wrong? Thanks in advance.
Please Wait...