next up previous contents
Next: A sample run Up: Code generation Previous: A sample run   Contents

Verifying the results

The program regress is supplied with the OPTIMQR package, to allow the user to verify that the generated solver works. It solves the system Ax=b and calculates the average residual from Ax-b.

The regression test utility also solves two different systems 10.000 times, to allow the user to do some simple benchmarking. This can be very useful when experimenting with code generation options.

Note that the regress.f file contains a maximum system size, set in the beginning of the file in the parameter maxdim. The default value is 60, which allows for testing of systems up to 60 x 60. This constant must be set appropriately if larger systems are to be tested.






1999-04-09