Example program for dgeqrf
This example solves the linear least squares problems
minimize
A
x
i
-
b
i
2
,
i
=
1
,
2
where
b
1
and
b
2
are the columns of the matrix
B
,
A
=
-
0.57
-
1.28
-
0.39
0.25
-
1.93
1.08
-
0.31
-
2.14
2.30
0.24
0.40
-
0.35
-
1.93
0.64
-
0.66
0.08
0.15
0.30
0.15
-
2.13
-
0.02
1.03
-
1.43
0.50
and
B
=
-
3.15
2.19
-
0.11
-
3.64
1.99
0.57
-
2.70
8.23
0.26
-
6.35
4.50
-
1.48
.
f90 source code
Input data file
Expected results