solves exercise 24

This commit is contained in:
anthonyduong
2024-10-22 22:30:16 -07:00
parent 916e1ecf95
commit efb6e2e192

View File

@@ -260,7 +260,7 @@ Multiply a 5x3 matrix by a 3x2 matrix (real matrix product) (★☆☆)
hint: hint:
< a24 < a24
Z = np.dot(np.ones((5,3)), np.ones((3,2))) Z = np.matmul(np.ones((5, 3)), np.ones((3, 2)))
print(Z) print(Z)
# Alternative solution, in Python 3.5 and above # Alternative solution, in Python 3.5 and above