Example program for zgerqf
This example finds the minimum norm solution to the underdetermined equations
A
x
=
b
where
A
=
0.28
-
0.36
i
0.50
-
0.86
i
-
0.77
-
0.48
i
1.58
+
0.66
i
-
0.50
-
1.10
i
-
1.21
+
0.76
i
-
0.32
-
0.24
i
-
0.27
-
1.15
i
0.36
-
0.51
i
-
0.07
+
1.33
i
-
0.75
+
0.47
i
-
0.08
+
1.01
i
and
b
=
-
1.35
+
0.19
i
9.41
-
3.56
i
-
7.57
+
6.93
i
.
The solution is obtained by first obtaining an
R
Q
factorization of the matrix
A
.
Note that the block size (NB) of
64
assumed in this example is not realistic for such a small problem, but should be suitable for large problems.
f90 source code
Input data file
Expected results