You are viewing a single comment's thread. Return to all comments →
import numpy as np arr1 = np.array([[1, 2, 3], [2, 3, 4], [1, 1, 1]]) arr2 = np.array([[4, 5, 6], [7, 8, 9], [4, 5, 7]]) arr3 = np.add(arr1, arr2) for i in np.nditer(arr3): print(i)
Anything wrong here?
Seems like cookies are disabled on this browser, please enable them to open this website
Linear Algebra Foundations #1 - Matrix Addition
You are viewing a single comment's thread. Return to all comments →
Anything wrong here?