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

m size_t

a positive integer input variable set to the number of rows of a and the order of q.

n size_t

a positive integer input variable set to the number of columns of a.

q Real*

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 size_t

a positive integer input variable not less than m which specifies the leading dimension of the array q.

wa Real*

a work array of length m.

Meta