SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWSymRFQREigServer< TypeT > Class Template Reference

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

#include <rw/lapack/seigsrv.h>

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

Public Member Functions

 RWSymRFQREigServer ()
 
virtual bool computeEigenVectors () const
 
virtual RWSymEigDecomp< TypeT > decompose (const RWTriDiagDecomp< TypeT > &A)
 
- Public Member Functions inherited from RWSymEigServer< TypeT >
virtual RWSymEigDecomp< TypeT > operator() (const RWSymMat< TypeT > &A)
 
virtual RWSymEigDecomp< TypeT > operator() (const RWSymBandMat< TypeT > &A)
 

Detailed Description

template<class TypeT>
class RWSymRFQREigServer< TypeT >

The class RWSymRFQREigServer 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>
RWSymEigDecomp<double> eig = server(A); // A is a RWSymBandMat<double>
Example
#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 >.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.