An annotated example of an input file for testing the generalized QR and RQ factorization routines is shown below.

GQR: Data file for testing Generalized QR and RQ routines 3 Number of values of M, P and N 0 3 10 Values of M 0 5 20 Values of P 0 3 30 Values of N 20.0 Threshold value of test ratio. T Put T to test the error exits 1 Code to interpret the seed GQR 8 List matrix types on next line if 0 < NTYPES < 8

The first line of the input file must contain the characters GQR or GRQ in columns 1-3. Lines 2-9 are read using list-directed input and specify the following values:

line 2: | The number of values of M, P and N |

line 3: | The values of M |

line 4: | The values of P |

line 5: | The values of N |

line 6: | 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 GQR or GRQ followed by the number of matrix types NTYPES | |

line 10: | If 535#535, then specifies matrix types to be tested. |