The HRD test program generates random nonsymmetric test matrices with values in the interval [-1,1], calls the ScaLAPACK routines to reduce the test matrix to upper Hessenberg form, and computes a reduction residual error check to verify that each operation has performed correctly.
Specifically, each test matrix is subjected to the following tests: