Example program for dorcsd
This example finds the full CS decomposition of
X
=
-
0.7576
0.3697
0.3838
0.2126
-
0.3112
-
0.4077
-
0.1552
-
0.1129
0.2676
0.8517
-
0.0488
0.7240
-
0.6730
-
0.1301
0.0602
-
0.2287
0.0088
0.2235
-
0.9235
0.2120
0.4530
0.5612
0.5806
0.1162
0.3595
partitioned so that the top left block is
3
by
2
.
The decomposition is performed both on submatrices of the orthogonal matrix
X
and on separated partition matrices. Code is also provided to perform a recombining check if required.
f90 source code
Input data file
Expected results