mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +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
|