Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Linear Algebra Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSymPDQREigServer<T>, RWHermPDQREigServer<T>

Module:  Linear Algebra   Group:  Symmetric Eigenvalue Decomposition classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/lapack/seigsrv.h>

RWSymPDQREigServer<double> server;
RWSymEigDecomp<double> eig = server(A);     // A is a
                              // RWSymBandMat<double>

#include <rw/lapack/heigsrv.h>

RWHermPDQREigServer<double> server;
RWHermEigDecomp<double> eig = server(A);    // A is a
                           // RWHermBandMat<DComplex>

Description

The classes RWSymPDQREigServer<T> and RWHermPDQREigServer<T> are the servers for the positive definite QR method of computing eigenvalues. These servers apply only to matrices that you know are positive definite. Trying to use them on nonpositive definite matrices results in a decomposition with the incomplete flag set; you can test for this in the class RWSymEigDecomp<T>. Use of these servers with positive definite matrices can result in much more accurate eigenvalues and eigenvectors.

Example

Public Constructor

RWSymPDQREigServer(bool computeVecs=true);
RWHermPDQREigServer(bool computeVecs=true);

Public Member Functions

void
RWSymPDQREigServer<T>::computeEigenVectors(bool);
void
RWHermPDQREigServer<DComplex>::computeEigenVectors(bool);
bool
RWSymPDQREigServer<T>::computeEigenVectors() const;
bool
RWHermPDQREigServer<DComplex>::computeEigenVectors()
       const;
RWSymEigDecomp<T>
RWSymPDQREigServer<T>::decompose
(const RWSymTriDiagDecomp<T>& A) const RWSymEigDecomp<double> RWHermPDQREigServer<DComplex>::decompose
(const RWSymTriDiagDecomp<double>& A) const

Public Member Operators

RWSymEigDecomp<T>   RWSymPDQREigServer<T>::operator()
(const RWSymMat<T>& A) const; RWSymEigDecomp<T> RWSymPDQREigServer<T>::operator()
(const RWSymBandMat<T>& A) const; RWHermEigDecomp<DComplex>
RWHermPDQREigServer<DComplex>::operator()
(const RWHermMat<DComplex>& A) const; RWHermEigDecomp<DComplex>
RWHermPDQREigServer<DComplex>::operator()
(const RWHermBandMat<DComplex>& A) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.