Merge pull request #220 from anthonyduong9/solve-exercise-24

solves exercise 24
This commit is contained in:
Nicolas P. Rougier 2025-01-06 13:33:26 +01:00 committed by GitHub
commit 4090dc6c5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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