F08FGF (DORMTR) multiplies an arbitrary real matrix
by the real orthogonal matrix
which was determined by
F08FEF (DSYTRD) when reducing a real symmetric matrix to tridiagonal form.
SUBROUTINE F08FGF ( |
SIDE, UPLO, TRANS, M, N, A, LDA, TAU, C, LDC, WORK, LWORK, INFO) |
INTEGER |
M, N, LDA, LDC, LWORK, INFO |
REAL (KIND=nag_wp) |
A(LDA,*), TAU(*), C(LDC,*), WORK(max(1,LWORK)) |
CHARACTER(1) |
SIDE, UPLO, TRANS |
|
F08FGF (DORMTR) is intended to be used after a call to
F08FEF (DSYTRD), which reduces a real symmetric matrix
to symmetric tridiagonal form
by an orthogonal similarity transformation:
.
F08FEF (DSYTRD) represents the orthogonal matrix
as a product of elementary reflectors.
This routine may be used to form one of the matrix products
overwriting the result on
(which may be any real rectangular matrix).
The computed result differs from the exact result by a matrix
such that
where
is the
machine precision.
The complex analogue of this routine is
F08FUF (ZUNMTR).
This example computes the two smallest eigenvalues, and the associated eigenvectors, of the matrix
, where
Here
is symmetric and must first be reduced to tridiagonal form
by
F08FEF (DSYTRD). The program then calls
F08JJF (DSTEBZ) to compute the requested eigenvalues and
F08JKF (DSTEIN) to compute the associated eigenvectors of
. Finally F08FGF (DORMTR) is called to transform the eigenvectors to those of
.