f08ajc generates all or part of the real orthogonal matrix
from an
factorization computed by
f08ahc.
f08ajc is intended to be used after a call to
f08ahc, which performs an
factorization of a real matrix
. The orthogonal matrix
is represented as a product of elementary reflectors.
Usually
is determined from the
factorization of a
matrix
with
. The whole of
may be computed by
:
nag_lapackeig_dorglq(order,n,n,p,a,pda,tau,&fail)
(note that the array
a must have at least
rows)
or its leading
rows by
:
nag_lapackeig_dorglq(order,p,n,p,a,pda,tau,&fail)
The rows of
returned by the last call form an orthonormal basis for the space spanned by the rows of
; thus
f08ahc followed by
f08ajc can be used to orthogonalize the rows of
.
The information returned by the
factorization functions also yields the
factorization of the leading
rows of
, where
. The orthogonal matrix arising from this factorization can be computed by
:
nag_lapackeig_dorglq(order,n,n,k,a,pda,tau,&fail)
or its leading
rows by
:
nag_lapackeig_dorglq(order,k,n,k,a,pda,tau,&fail)
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 function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
The complex analogue of this function is
f08awc.
This example forms the leading
rows of the orthogonal matrix
from the
factorization of the matrix
, where
The rows of
form an orthonormal basis for the space spanned by the rows of
.