Function qform

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.

void qform(Real) (
  size_t m,
  size_t n,
  Real* q,
  size_t ldq,
  Real* wa
);

Parameters

NameDescription
m a positive integer input variable set to the number of rows of a and the order of q.
n a positive integer input variable set to the number of columns of a.
q 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.
ldq a positive integer input variable not less than m which specifies the leading dimension of the array q.
wa a work array of length m.