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 for which
,
is a real scalar,
is a
element vector and
is an
element vector.
and
are chosen to annihilate the elements in the
th row of
.
The scalar
and the vector
are returned in the
th element of
THETA and in the
th row of
A, such that
, given by
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 unitary matrix
can be obtained by calling
F01RKF, which overwrites the
rows of
on the first
rows of the array
A.
is obtained by the call:
IFAIL = 0
CALL F01RKF('Separate',M,N,K,A,LDA,THETA,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
F06SFF (ZTRMV) and
F06SJF (ZTRSV), (see
Chapter F06), but note that no test for near singularity of
is incorporated into
F06SFF (ZTRMV). If
is singular, or nearly singular then
F02XUF can be used to determine the singular value decomposition of
.