a positive integer input variable set to the number of rows of a and the order of q.
a positive integer input variable set to the number of columns of a.
an array of length m^2. On input the full lower trapezoid in the first min(m,n) columns of Q contains the factored form. on output Q has been accumulated into a square matrix.
a positive integer input variable not less than m which specifies the leading dimension of the array q.
a work array of length m.
This subroutine proceeds from the computed QR factorization of an m by n matrix a to accumulate the m by m orthogonal matrix Q from its factored form.