Question: VECTOR/MATRIX MULTIPLICATION

I am unable to do the following multiplication of two vectors(B and C given below), which is possible in Mathematics but not in Maple(Tried all the possible ways)

 

B := Vector(2, {1 = 2, 2 = 3});
C := Vector(1, {1 = 4});


B . C;
Error, (in LinearAlgebra:-DotProduct) vectors must have the same dimension
B*C;
Error, (in rtable/Product) use *~ for elementwise multiplication of Vectors or Matrices; use . (dot) for Vector/Matrix multiplication
`~`[`*`](B, C);
Error, dimension bounds must be the same for all container objects in an elementwise operation
 

Please Wait...