mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +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
|