>
>#include <rw/fseigsrv.h> // FloatSymRFQREigServer #include <rw/dseigsrv.h> // DoubleSymRFQREigServer #include <rw/cheigsrv.h> // DComplexHermRFQREigServer DoubleSymRFQREigServer server; DoubleSymEigDecomp eig = server(A); // A is a
// DoubleSym[Band]Mat
The classes {TYPE}SymRFQREigServer and DComplexHermRFQREigServer are the servers for the root-free QR method of computing eigenvalues. This method computes all the eigenvalues and no eigenvectors.
>#include <rw/dseigsrv.h> main() { DoubleSymMat A; // input a matrix cin >> A; DoubleRFQREigServer server; // configure a server DoubleSymEigDecomp eig = server(A); }>
FloatSymRFQREigServer(); DoubleSymRFQREigServer(); DComplexHermRFQREigServer();
Constructs a server.
RWBoolean FloatSymRFQREigServer::computeEigenVectors() const; RWBoolean DoubleSymRFQREigServer::computeEigenVectors()const; RWBoolean DComplexHermRFQREigServer::computeEigenVectors() const;
Always returns FALSE, since this server can not compute eigenvectors.
FloatSymEigDecomp FloatSymRFQREigServer::decompose
(const FloatSymTriDiagDecomp& A) const DoubleSymEigDecomp DoubleSymRFQREigServer::decompose
(const DoubleSymTriDiagDecomp& A) const DoubleSymEigDecomp DComplexHermRFQREigServer::decompose
(const DoubleSymTriDiagDecomp& A) const
Computes the eigenvalue decomposition of the tridiagonal matrix inside the tridiagonal decomposition.
FloatSymEigDecomp FloatSymRFQREigDecomp::operator()
(const FloatSymMat& A) const; FloatSymEigDecomp FloatSymRFQREigDecomp::operator()
(const FloatSymBandMat& A) const; DoubleSymEigDecomp DoubleSymRFQREigDecomp::operator()
(const DoubleSymMat& A) const; DoubleSymEigDecomp DoubleSymRFQREigDecomp::operator()
(const DoubleSymBandMat& A) const; DComplexSymEigDecomp DComplexSymRFQREigDecomp::operator()
(const DComplexSymMat& A) const; DComplexHermEigDecomp DComplexHermRFQREigDecomp::operator()
(const DComplexHermBandMat& A) const;
Computes a symmetric eigenvalue decomposition.
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.