We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.

- Practice
- Mathematics
- Linear Algebra Foundations
- Linear Algebra Foundations #4- Matrix Multiplication
- Discussions

# Linear Algebra Foundations #4- Matrix Multiplication

# Linear Algebra Foundations #4- Matrix Multiplication

m_h3ikl + 1 comment 30

36

45

45

54

67

15

18

22

makindiRunner + 0 comments thank you

devarshiporwal42 + 0 comments 30 36 45 45 54 67 15 18 22

gladflauer + 1 comment I'm not finding any answers online as to why this code isn't producing the right output:

matrix_one = np.array([[1, 2, 3], [2, 3, 4], [1, 1, 1]]) matrix_two = np.array([[4, 5, 6], [7, 8, 9], [4, 5, 7]]) matprod_list = np.dot(matrix_one, matrix_two) for arr in matprod_list: for num in arr: print(num)

Output: 30 36 24 45 54 39 15 18 15

Is there a method other than .dot() I should be using?

yosyedalihaider + 0 comments this is coz u didnt check the editor language, you need to just type in the solutions and not code it bro

No more comments

Sort 3 Discussions, By:

Please Login in order to post a comment