/
zgejsv_example.r
executable file
·53 lines (36 loc) · 1.19 KB
/
zgejsv_example.r
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
ZGEJSV Example Program Results
Singular values
3.9994 3.0003 1.9944 0.9995
Left singular vectors
1 2 3 4
1 0.5634 -0.1804 0.0757 0.0127
-0.0021 0.3395 -0.5208 0.4822
2 -0.1200 0.1917 -0.4535 0.0220
0.6109 0.2443 -0.1124 -0.0420
3 0.0815 0.4205 0.6021 0.1237
-0.1614 0.0403 -0.0346 -0.2071
4 -0.1440 -0.2257 0.0942 0.5805
0.1534 -0.1364 -0.1237 -0.1439
5 0.2488 0.1251 -0.2252 0.0533
0.0924 -0.6961 -0.1398 0.0860
6 0.3758 -0.0684 0.0004 0.0448
-0.0796 0.0540 -0.2158 -0.5805
Right singular vectors
1 2 3 4
1 0.6971 -0.0729 0.4144 -0.2817
-0.0006 -0.2289 0.3013 -0.3384
2 0.0864 0.2006 0.3471 0.8276
-0.3549 -0.1400 0.0379 -0.0000
3 -0.0564 0.5794 -0.3585 -0.2202
-0.5399 0.0755 0.3776 -0.2106
4 0.1876 -0.4206 -0.5845 0.1264
-0.2254 -0.6035 0.0527 0.1116
Estimate of the condition number of column equilibrated A
2.61E+00
Error estimates (as multiples of machine precision):
for the singular values
4
for left singular vectors
4 4 4 4
for right singular vectors
4 4 4 4