SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
The server for the root-free QR method of computing eigenvalues. More...
#include <rw/lapack/heigsrv.h>
Public Member Functions | |
RWHermRFQREigServer () | |
virtual RWSymEigDecomp< double > | decompose (const RWTriDiagDecomp< TypeT > &A) |
virtual bool | computeEigenVectors () const |
The class RWHermRFQREigServer<T> is the server for the root-free QR method of computing eigenvalues. This method computes all the eigenvalues and no eigenvectors.
#include <rw/lapack/heigsrv.h> RWHermRFQREigServer<DComplex> server; RWHermEigDecomp<DComplex> eig = server(A); // A is a // RWHermBandMat<DComplex>
#include <iostream> #include <rw/lapack/heigsrv.h> int main() { RWHermMat<DComplex> A; // input a matrix std::cin >> A; RWHermRFQREigServer<DComplex> server; // configure a server RWHermEigDecomp<DComplex> eig = server(A); return 0; }
RWHermRFQREigServer< TypeT >::RWHermRFQREigServer | ( | ) |
Constructs a server.
virtual bool RWHermRFQREigServer< TypeT >::computeEigenVectors | ( | ) | const [virtual] |
Always returns false
, since this server can not compute eigenvectors.
Implements RWHermEigServer< TypeT >.
virtual RWSymEigDecomp<double> RWHermRFQREigServer< TypeT >::decompose | ( | const RWTriDiagDecomp< TypeT > & | A | ) | [virtual] |
Computes the eigenvalue decomposition of the tridiagonal matrix inside the tridiagonal decomposition.
Implements RWHermEigServer< TypeT >.
© 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.