rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWSymRFQREigServer< TypeT > Class Template Reference
[Symmetric Eigenvalue Decomposition]

Server for the root-free QR method of computing eigenvalues. More...

#include <rw/lapack/seigsrv.h>

Inheritance diagram for RWSymRFQREigServer< TypeT >:
RWSymEigServer< TypeT >

List of all members.

Public Member Functions

 RWSymRFQREigServer ()
virtual RWSymEigDecomp< TypeT > decompose (const RWTriDiagDecomp< TypeT > &A)
virtual bool computeEigenVectors () const

Detailed Description

template<class TypeT>
class RWSymRFQREigServer< TypeT >

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.

Synopsis

 #include <rw/lapack/seigsrv.h>
 
 RWSymRFQREigServer<double> server;
 RWSymEigDecomp<double> eig = server(A);  // A is a RWSymBandMat<double>

Examples

 #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;
 }

Constructor & Destructor Documentation

template<class TypeT>
RWSymRFQREigServer< TypeT >::RWSymRFQREigServer (  ) 

Constructs a server.


Member Function Documentation

template<class TypeT>
virtual bool RWSymRFQREigServer< TypeT >::computeEigenVectors (  )  const [virtual]

Always returns false, since this server can not compute eigenvectors.

Implements RWSymEigServer< TypeT >.

template<class 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 >.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.