SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Server for the root-free QR method of computing eigenvalues. More...
#include <rw/lapack/seigsrv.h>
Public Member Functions | |
RWSymRFQREigServer () | |
virtual RWSymEigDecomp< TypeT > | decompose (const RWTriDiagDecomp< TypeT > &A) |
virtual bool | computeEigenVectors () const |
The class RWSymRFQREigServer<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/seigsrv.h> RWSymRFQREigServer<double> server; RWSymEigDecomp<double> eig = server(A); // A is a RWSymBandMat<double>
#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< TypeT >::RWSymRFQREigServer | ( | ) |
Constructs a server.
virtual bool RWSymRFQREigServer< TypeT >::computeEigenVectors | ( | ) | const [virtual] |
Always returns false
, since this server can not compute eigenvectors.
Implements RWSymEigServer< TypeT >.
virtual RWSymEigDecomp<TypeT> RWSymRFQREigServer< TypeT >::decompose | ( | const RWTriDiagDecomp< TypeT > & | A | ) | [virtual] |
Computes the eigenvalue decomposition of the tridiagonal matrix inside the tridiagonal decomposition.
Implements RWSymEigServer< 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.