An annotated example of an input file for testing the constrained linear least squares driver is shown below.
LSE: Data file for testing Constrained Linear Least Squares routines 6 Number of values of NN 6 0 5 8 10 30 Values of M 0 5 5 5 8 20 Values of P 5 5 6 8 12 45 Values of N, note P <= N <= P+M 20.1 Threshold value of test ratio. T Put T to test the error exits 1 Code to interpret the seed LSE 8 List matrix types on next line if 0 < NTYPES < 8
The first line of the input file must contain the characters LSE in columns 1-3. Lines 2-9 are read using list-directed input and specify the following values:
| line 2: | The number of values M, P, and N |
| line 3: | Values of M |
| line 4: | Values of P |
| line 5: | Values of N, note P 545#545 N 545#545 P+M |
| line 6: | THRESH, the threshold value for the test ratios |
| line 7: | TSTERR, flag to test the error exits |
| line 8: | 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 9 : | If line 8 was 2, four integer values for the random number seed |
| Otherwise, the path LSE followed by the number of matrix types NTYPES | |
| line 10: | If 535#535, then specifies matrix types to be tested. |