f08kff generates one of the real orthogonal matrices
or
which were determined by
f08kef when reducing a real matrix to bidiagonal form.
f08kff is intended to be used after a call to
f08kef, which reduces a real rectangular matrix
to bidiagonal form
by an orthogonal transformation:
.
f08kef represents the matrices
and
as products of elementary reflectors.
The various possibilities are specified by the arguments
vect,
m,
n and
k. The appropriate values to cover the most likely cases are as follows (assuming that
was an
by
matrix):
-
1.To form the full by matrix :
Call dorgbr('Q',m,m,n,...)
(note that the array a must have at least columns).
-
2.If , to form the leading columns of :
Call dorgbr('Q',m,n,n,...)
-
3.To form the full by matrix :
Call dorgbr('P',n,n,m,...)
(note that the array a must have at least rows).
-
4.If , to form the leading rows of :
Call dorgbr('P',m,n,m,...)
The computed matrix
differs from an exactly orthogonal matrix by a matrix
such that
where
is the
machine precision. A similar statement holds for the computed matrix
.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
The total number of floating-point operations for the cases listed in
Section 3 are approximately as follows:
-
1.To form the whole of :
- if ,
- if ;
-
2.To form the leading columns of when :
-
3.To form the whole of :
- if ,
- if ;
-
4.To form the leading rows of when :
The complex analogue of this routine is
f08ktf.
For this routine two examples are presented, both of which involve computing the singular value decomposition of a matrix
, where
in the first example and
in the second.
must first be reduced to tridiagonal form by
f08kef. The program then calls
f08kff twice to form
and
, and passes these matrices to
f08mef, which computes the singular value decomposition of
.