Skip to content

Commit 10ceeed

Browse files
authored
Add files via upload
1 parent ecf0f4b commit 10ceeed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

SVP_CVP/vol_det.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import numpy as np
2+
import GA
3+
4+
original_base = np.array([[2.0, 1.0], [3.0, -1.0]])
5+
6+
open_base = np.array([[2.0, 1.0], [3.0, -1.0]])
7+
GA.ga(open_base)
8+
9+
if np.linalg.det(original_base) == np.linalg.det(open_base):
10+
print("True")
11+
12+

0 commit comments

Comments
 (0)