-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
46 lines (44 loc) · 1.05 KB
/
settings.py
File metadata and controls
46 lines (44 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import numpy as np
alpha = 10 ** (-2)
#alpha = 0.2
n = 100
st_points = [(0.5, 1.0000001),
(0.5, 0.999999),
(0.5, -1.0000001),
(0.5, -0.999999),
(-2.5, -4), (-3, 0),
(1.5, 3),
(-3, -2),
(1, -2),
(1.1, -2),
(1.3, 3),
(1, 2),
(0.8, 2),
(0.6, -1.2),
(0.7, -1.3),
(2, 4),
(0.4, -0.92),
(0.3, -0.6),
(1.9, 4),
(1.5, -3),
(1.6, -3),
(0.25, -0.5),
(0.4, -0.75),
(0.3, -0.6),
(0.6, -1),
(0.5, -0.8),
(0.4, 0.7),
(0.4, 0.8),
(0.2, 0),
(0.5, 1.2),
(0.6, 1.2),
(-3, 1),
(-3, -1),
(0.8, 1.6),
(-3, -3),
(-3, 2),
(0.76, 1.6),
(0.55, -1.1),
(0.5, -1.04)]
print(np.linalg.eig(np.matrix('4 -2; -2 0')))
print()