...

/

Challenge: Matrix Multiplier

Challenge: Matrix Multiplier

Design a Python algorithm to multiply two matrices.

Statement

Write a computeProductByColumnView function that accepts two matrices, AA and BB, as inputs and computes the product CC, of these two matrices using the column view approach discussed in the lesson matrix multiplication. Assume the matrices have valid dimensions.

Example

Sample inputs and outputs

The following table describes the expected outputs of each corresponding input:

Input Output
A:[[1,4,7]]A : [[1, 4, 7]] , B:[[3],[1],[2]]B : [[3], [1], [2]] C:[[21]]C : [[21]]
...