Example program for dggglm
This example solves the weighted least squares problem
minimize
x
B
-
1
d
-
A
x
2
,
where
B
=
0.5
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
2.0
0.0
0.0
0.0
0.0
5.0
,
d
=
1.32
-
4.00
5.52
3.24
and
A
=
-
0.57
-
1.28
-
0.39
-
1.93
1.08
-
0.31
2.30
0.24
-
0.40
-
0.02
1.03
-
1.43
.
f90 source code
Input data file
Expected results