An annotated example of an input file for testing the banded singular value decomposition routines is shown below.
SBB: Data file for testing banded Singular Value Decomposition routines 20 Number of values of M 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 10 10 16 16 Values of M 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 10 16 10 16 Values of N 5 Number of values of K 0 1 2 3 16 Values of K (band width) 2 Number of values of NRHS 1 2 Values of NRHS 20.0 Threshold value F Put T to test the error exits 1 Code to interpret the seed SBB 15
The first line of the input file must contain the characters SBB in columns 1-3. Lines 2-12 are read using list-directed input and specify the following values:
| line 2: | The number of values of M and N |
| line 3: | The values of M, the matrix row dimension |
| line 4: | The values of N, the matrix column dimension |
| line 5: | The number of values of K |
| line 6: | The values of K, the bandwidth |
| line 7: | The number of values of NRHS |
| line 8: | The values of NRHS, the number of right hand sides |
| line 9: | The threshold value for the test ratios |
| line 10: | TSTERR, the flag to test error exits |
| line 11: | An integer code to interpret the random number seed. |
| = 0: Set the seed to a default value before each run | |
| = 1: Initialize the seed to a default value only before the first run | |
| = 2: Like 1, but use the seed values on the next line | |
| line 12: | If line 14 was 2, four integer values for the random number seed |
The remaining lines are used to specify the matrix types for the set of tests. The valid 3-character code is SBB (CBB in complex, DBB in double precision, and ZBB in complex*16).