Example program for ztgsna
This example estimates condition numbers and approximate error estimates for all the eigenvalues and right eigenvectors of the pair
S
,
T
given by
S
=
4.0
+
4.0
i
1.0
+
1.0
i
1.0
+
1.0
i
2.0
-
1.0
i
0
.0
i
+
0.0
2.0
+
1.0
i
1.0
+
1.0
i
1.0
+
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
2.0
-
1.0
i
1.0
+
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
0
.0
i
+
0.0
6.0
-
2.0
i
and
T
=
2.0
1.0
+
1.0
i
1.0
+
1.0
i
3.0
-
1.0
i
0
.0
1.0
i
+
0.0
2.0
+
1.0
i
1.0
+
1.0
i
0
.0
0
.0
i
+
0.0
1.0
i
+
0.0
1.0
+
1.0
i
0
.0
0
.0
i
+
0.0
0
.0
i
+
0.0
2.0
i
+
0.0
.
The eigenvalues and eigenvectors are computed by calling
ztgevc
.
f90 source code
Input data file
Expected results