solves exercise 24
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user