Implement following functions:
(a) MaVe1: This function takes matrix A and vector x as input, calculates the product elementwisely, and returns the result.
(b) MaVe2: This function takes matrix A and vector x as input, calculates the product by linearly combining the columns of A, and returns the result.
(3) MaMa1: This function takes matrices A and B as input, calculates the product elementwisely, and returns the result.
(4) MaMa2: This function takes matrices A and B as input, calculates the product columnwisely via MaVe2, and returns the result.
https://blog.csdn.net/junchengberry/article/details/80296148