mirror of
https://github.com/ivabus/pantry
synced 2024-12-01 20:45:10 +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
|