nag_dopmtr (f08ggc) multiplies an arbitrary real matrix
by the real orthogonal matrix
which was determined by
nag_dsptrd (f08gec) when reducing a real symmetric matrix to tridiagonal form.
nag_dopmtr (f08ggc) is intended to be used after a call to
nag_dsptrd (f08gec), which reduces a real symmetric matrix
to symmetric tridiagonal form
by an orthogonal similarity transformation:
.
nag_dsptrd (f08gec) represents the orthogonal matrix
as a product of elementary reflectors.
This function 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.
nag_dopmtr (f08ggc) is not threaded by NAG in any implementation.
nag_dopmtr (f08ggc) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the
Users' Note for your implementation for any additional implementation-specific information.
The complex analogue of this function is
nag_zupmtr (f08guc).
This example computes the two smallest eigenvalues, and the associated eigenvectors, of the matrix
, where
using packed storage. Here
is symmetric and must first be reduced to tridiagonal form
by
nag_dsptrd (f08gec). The program then calls
nag_dstebz (f08jjc) to compute the requested eigenvalues and
nag_dstein (f08jkc) to compute the associated eigenvectors of
. Finally nag_dopmtr (f08ggc) is called to transform the eigenvectors to those of
.