f08aff generates all or part of the real orthogonal matrix
from a
factorization computed by
f08aef or
f08bff.
f08aff is intended to be used after a call to
f08aef or
f08bff.
which perform a
factorization of a real matrix
. The orthogonal matrix
is represented as a product of elementary reflectors.
Usually
is determined from the
factorization of an
matrix
with
. The whole of
may be computed by
:
Call dorgqr(m,m,p,a,lda,tau,work,lwork,info)
(note that the array
a must have at least
columns)
or its leading
columns by
:
Call dorgqr(m,p,p,a,lda,tau,work,lwork,info)
The columns of
returned by the last call form an orthonormal basis for the space spanned by the columns of
; thus
f08aef followed by
f08aff can be used to orthogonalize the columns of
.
The information returned by the
factorization routines also yields the
factorization of the leading
columns of
, where
. The orthogonal matrix arising from this factorization can be computed by
:
Call dorgqr(m,m,k,a,lda,tau,work,lwork,info)
or its leading
columns by
:
Call dorgqr(m,k,k,a,lda,tau,work,lwork,info)
The computed matrix
differs from an exactly orthogonal matrix by a matrix
such that
where
is the
machine precision.
Background information to multithreading can be found in the
Multithreading documentation.
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 complex analogue of this routine is
f08atf.
This example forms the leading
columns of the orthogonal matrix
from the
factorization of the matrix
, where
The columns of
form an orthonormal basis for the space spanned by the columns of
.