mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
4 lines
94 B
Python
4 lines
94 B
Python
|
import numpy as np
|
||
|
t = np.ones((3,3), int)
|
||
|
assert t.sum() == 9
|
||
|
assert np.dot(t, t).sum() == 27
|