Merge pull request #220 from anthonyduong9/solve-exercise-24
solves exercise 24
This commit is contained in:
commit
4090dc6c5f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user