mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +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
|