-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest_reg_W22.fredh
158 lines (158 loc) · 6.84 KB
/
test_reg_W22.fredh
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
adjust_alpha=1, solved at min alpha=0.0
alpha= 0.0 an4= -1.4876271158e-05
Search for alpha such that an4(alpha)>=eps*dl2.
alpha= 1.000000e-06 an4= -4.702403e-06
alpha= 2.000000e-06 an4= 6.625560e-06
Initial points: x1= 0.000000e+00 x2= 2.000000e-06 f1= -1.487627e-05 f2= 6.625560e-06
Search alpha by division by 2: eps*dl2= 1.067732e-06
Search for solution:
alpha= 1.0000000000e-06 an4= -4.7024032747e-06 x1= 0.000000e+00 x2= 2.000000e-06 f1= -1.487627e-05 f2= 6.625560e-06
alpha= 1.5000000000e-06 an4= 2.8353545217e-07 x1= 1.000000e-06 x2= 2.000000e-06 f1= -4.702403e-06 f2= 6.625560e-06
Simulated input data (sigma of Gaussian noise sig= 0.010000):
x u0(exact) u(with noise) az
0.00000 3.78213e-01 3.74759e-01 3.77927e-01
0.02500 4.42171e-01 4.53294e-01 4.41823e-01
0.05000 4.96479e-01 5.02889e-01 4.96064e-01
0.07500 5.37168e-01 5.43249e-01 5.36672e-01
0.10000 5.64323e-01 5.75915e-01 5.63718e-01
0.12500 5.79873e-01 5.72753e-01 5.79128e-01
0.15000 5.86011e-01 5.90186e-01 5.85094e-01
0.17500 5.84604e-01 5.67415e-01 5.83493e-01
0.20000 5.77115e-01 5.99924e-01 5.75802e-01
0.22500 5.64672e-01 5.60672e-01 5.63171e-01
0.25000 5.48163e-01 5.50415e-01 5.46507e-01
0.27500 5.28308e-01 5.05591e-01 5.26553e-01
0.30000 5.05712e-01 5.19583e-01 5.03936e-01
0.32500 4.80902e-01 4.89566e-01 4.79205e-01
0.35000 4.54352e-01 4.57434e-01 4.52851e-01
0.37500 4.26496e-01 4.16171e-01 4.25322e-01
0.40000 3.97738e-01 4.00742e-01 3.97033e-01
0.42500 3.68459e-01 3.64877e-01 3.68366e-01
0.45000 3.39020e-01 3.35806e-01 3.39679e-01
0.47500 3.09761e-01 2.98623e-01 3.11300e-01
0.50000 2.81004e-01 2.93445e-01 2.83528e-01
0.52500 2.53050e-01 2.53525e-01 2.56632e-01
0.55000 2.26180e-01 2.10881e-01 2.30848e-01
0.57500 2.00648e-01 2.09096e-01 2.06381e-01
0.60000 1.76682e-01 1.80609e-01 1.83400e-01
0.62500 1.54478e-01 1.76720e-01 1.62041e-01
0.65000 1.34198e-01 1.38926e-01 1.42404e-01
0.67500 1.15962e-01 1.15898e-01 1.24555e-01
0.70000 9.98398e-02 1.09647e-01 1.08523e-01
0.72500 8.58461e-02 7.83478e-02 9.43001e-02
0.75000 7.39270e-02 8.94920e-02 8.18439e-02
0.77500 6.39527e-02 6.54950e-02 7.10748e-02
0.80000 5.57188e-02 6.46653e-02 6.18805e-02
0.82500 4.89668e-02 4.66871e-02 5.41186e-02
0.85000 4.34226e-02 3.43775e-02 4.76235e-02
0.87500 3.88357e-02 2.55517e-02 4.22156e-02
0.90000 3.50000e-02 2.63704e-02 3.77136e-02
0.92500 3.17555e-02 3.22974e-02 3.39483e-02
0.95000 2.89809e-02 3.46131e-02 3.07731e-02
0.97500 2.65844e-02 1.59640e-02 2.80685e-02
1.00000 2.44961e-02 2.14491e-02 2.57413e-02
Solution of simulated input data:
kernel_type= 4 switch_contype= 4 delta2= 1.067732e-04 adjust_alpha= 1 alpha= 1.500000e-06 metric= W22
iter_reg= 4 iter_minim= 92 del2= 1.070567e-04 errorcode= 100
s z0(exact) z(model)
0.00000 3.00000e+00 2.99482e+00
0.01000 2.99884e+00 2.99482e+00
0.02000 2.99538e+00 2.99236e+00
0.03000 2.98960e+00 2.98743e+00
0.04000 2.98153e+00 2.98005e+00
0.05000 2.97118e+00 2.97023e+00
0.06000 2.95855e+00 2.95799e+00
0.07000 2.94368e+00 2.94336e+00
0.08000 2.92658e+00 2.92636e+00
0.09000 2.90729e+00 2.90702e+00
0.10000 2.88582e+00 2.88537e+00
0.11000 2.86221e+00 2.86147e+00
0.12000 2.83651e+00 2.83535e+00
0.13000 2.80874e+00 2.80706e+00
0.14000 2.77896e+00 2.77666e+00
0.15000 2.74720e+00 2.74420e+00
0.16000 2.71353e+00 2.70975e+00
0.17000 2.67798e+00 2.67336e+00
0.18000 2.64061e+00 2.63512e+00
0.19000 2.60148e+00 2.59508e+00
0.20000 2.56066e+00 2.55331e+00
0.21000 2.51820e+00 2.50990e+00
0.22000 2.47417e+00 2.46491e+00
0.23000 2.42864e+00 2.41842e+00
0.24000 2.38168e+00 2.37053e+00
0.25000 2.33336e+00 2.32131e+00
0.26000 2.28375e+00 2.27084e+00
0.27000 2.23293e+00 2.21923e+00
0.28000 2.18099e+00 2.16655e+00
0.29000 2.12799e+00 2.11289e+00
0.30000 2.07403e+00 2.05835e+00
0.31000 2.01918e+00 2.00303e+00
0.32000 1.96353e+00 1.94701e+00
0.33000 1.90716e+00 1.89039e+00
0.34000 1.85017e+00 1.83328e+00
0.35000 1.79264e+00 1.77576e+00
0.36000 1.73465e+00 1.71794e+00
0.37000 1.67631e+00 1.65992e+00
0.38000 1.61769e+00 1.60179e+00
0.39000 1.55889e+00 1.54366e+00
0.40000 1.50000e+00 1.48553e+00
0.41000 1.44111e+00 1.42759e+00
0.42000 1.38231e+00 1.36994e+00
0.43000 1.32369e+00 1.31267e+00
0.44000 1.26535e+00 1.25588e+00
0.45000 1.20736e+00 1.19965e+00
0.46000 1.14983e+00 1.14407e+00
0.47000 1.09284e+00 1.08923e+00
0.48000 1.03647e+00 1.03521e+00
0.49000 9.80824e-01 9.82094e-01
0.50000 9.25975e-01 9.29949e-01
0.51000 8.72010e-01 8.78847e-01
0.52000 8.19014e-01 8.28855e-01
0.53000 7.67068e-01 7.80036e-01
0.54000 7.16252e-01 7.32450e-01
0.55000 6.66645e-01 6.86153e-01
0.56000 6.18322e-01 6.41197e-01
0.57000 5.71359e-01 5.97630e-01
0.58000 5.25828e-01 5.55493e-01
0.59000 4.81799e-01 5.14825e-01
0.60000 4.39340e-01 4.75662e-01
0.61000 3.98516e-01 4.38031e-01
0.62000 3.59391e-01 4.01961e-01
0.63000 3.22025e-01 3.67475e-01
0.64000 2.86475e-01 3.34594e-01
0.65000 2.52796e-01 3.03335e-01
0.66000 2.21040e-01 2.73711e-01
0.67000 1.91256e-01 2.45730e-01
0.68000 1.63490e-01 2.19399e-01
0.69000 1.37785e-01 1.94718e-01
0.70000 1.14181e-01 1.71686e-01
0.71000 9.27130e-02 1.50292e-01
0.72000 7.34152e-02 1.30523e-01
0.73000 5.63171e-02 1.12357e-01
0.74000 4.14451e-02 9.57692e-02
0.75000 2.88221e-02 8.07280e-02
0.76000 1.84675e-02 6.71978e-02
0.77000 1.03973e-02 5.51367e-02
0.78000 4.62400e-03 4.44945e-02
0.79000 1.15645e-03 3.52180e-02
0.80000 0.00000e+00 2.72438e-02
0.81000 0.00000e+00 2.05021e-02
0.82000 0.00000e+00 1.49143e-02
0.83000 0.00000e+00 1.03986e-02
0.84000 0.00000e+00 6.86253e-03
0.85000 0.00000e+00 4.20545e-03
0.86000 0.00000e+00 2.32253e-03
0.87000 0.00000e+00 1.09441e-03
0.88000 0.00000e+00 3.92117e-04
0.89000 0.00000e+00 7.75459e-05
0.90000 0.00000e+00 -7.74535e-11
0.91000 0.00000e+00 -6.52730e-11
0.92000 0.00000e+00 -5.75084e-11
0.93000 0.00000e+00 -4.07060e-11
0.94000 0.00000e+00 -4.48615e-11
0.95000 0.00000e+00 -4.74332e-11
0.96000 0.00000e+00 -1.21085e-11
0.97000 0.00000e+00 -2.26249e-11
0.98000 0.00000e+00 -2.09585e-11
0.99000 0.00000e+00 -1.88787e-15
1.00000 0.00000e+00 -8.92137e-14