solves exercise 24
This commit is contained in:
parent
916e1ecf95
commit
efb6e2e192
@ -260,7 +260,7 @@ Multiply a 5x3 matrix by a 3x2 matrix (real matrix product) (★☆☆)
|
||||
hint:
|
||||
|
||||
< 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)
|
||||
|
||||
# Alternative solution, in Python 3.5 and above
|
||||
|
Loading…
Reference in New Issue
Block a user