Module: Linear Algebra Group: Symmetric Eigenvalue Decomposition classes
Does not inherit
#include <rw/lapack/seigsrv.h> RWSymRFQREigServer<double> server; RWSymEigDecomp<double> eig = server(A); // A is a
// RWSymBandMat<double> #include <rw/lapack/heigsrv.h> RWHermRFQREigServer<double> server; RWHermEigDecomp<double> eig = server(A); // A is a
// RWSymBandMat<DComplex>
The classes RWSymRFQREigServer<T> and RWHermRFQREigServer<T> are the servers for the root-free QR method of computing eigenvalues. This method computes all the eigenvalues and no eigenvectors.
#include <iostream> #include <rw/lapack/seigsrv.h> int main() { RWSymMat<double> A; // input a matrix std::cin >> A; RWSymRFQREigServer<double> server; // configure a server RWSymEigDecomp<double> eig = server(A); return 0; }
RWSymRFQREigServer(); RWHermRFQREigServer();
Constructs a server.
bool RWSymRFQREigServer<T>::computeEigenVectors() const; bool RWHermRFQREigServer<DComplex>::computeEigenVectors() const;
Always returns false, since this server can not compute eigenvectors.
RWSymEigDecomp<T> RWSymRFQREigServer<T>::decompose
(const RWSymTriDiagDecomp<T>& A) const RWSymEigDecomp<double> RWHermRFQREigServer<DComplex>::decompose
(const RWSymTriDiagDecomp<double>& A) const
Computes the eigenvalue decomposition of the tridiagonal matrix inside the tridiagonal decomposition.
RWSymEigDecomp<T> RWSymRFQREigServer<T>::operator()
(const RWSymMat<T>& A) const; RWSymEigDecomp<T> RWSymRFQREigServer<T>::operator()
(const RWSymBandMat<T>& A) const; RWHermEigDecomp<DComplex> RWHermRFQREigServer<DComplex>::operator()
(const RWHermMat<DComplex>& A) const; RWHermEigDecomp<DComplex> RWHermRFQREigServer<DComplex>::operator()
(const RWHermBandMat<DComplex>& A) const;
Computes a symmetric eigenvalue decomposition.
© 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.