is given as a sequence of Householder transformation matrices
the (
)th transformation matrix,
, being used to introduce zeros into the
th row of
.
has the form
where
is a scalar,
is an
element vector and
is an
element vector.
is chosen to annihilate the elements in the
th row of
.
The vector
is returned in the
th element of
ZETA and in the
th row of
A, such that
is in
, the elements of
are in
and the elements of
are in
. The elements of
are returned in the upper triangular part of
A.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
The computed factors
and
satisfy the relation
where
is the
machine precision (see
X02AJF),
is a modest function of
and
, and
denotes the spectral (two) norm.
The first
rows of the orthogonal matrix
can be obtained by calling
F01QKF, which overwrites the
rows of
on the first
rows of the array
A.
is obtained by the call:
IFAIL = 0
CALL F01QKF('Separate',M,N,K,A,LDA,ZETA,WORK,IFAIL)
must be a
element array. If
is larger than
, then
A must have been declared to have at least
rows.
Operations involving the matrix
can readily be performed by the Level 2 BLAS routines
F06PFF (DTRMV) and
F06PJF (DTRSV) (see
Chapter F06), but note that no test for near singularity of
is incorporated into
F06PJF (DTRSV). If
is singular, or nearly singular then
F02WUF can be used to determine the singular value decomposition of
.