SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
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 RWSymBandMat< TypeT > &A)
 
virtual RWSymEigDecomp< TypeT > operator() (const RWSymMat< 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>
Encapsulates the eigenvalues and eigenvectors of a symmetric matrix.
Definition symeig.h:86
Server for the root-free QR method of computing eigenvalues.
Definition seigsrv.h:311
Example
#include <rw/lapack/seigsrv.h>
#include <iostream>
int main() {
RWSymMat<double> A; // input a matrix
std::cin >> A;
RWSymRFQREigServer<double> server; // configure a server
RWSymEigDecomp<double> eig = server(A);
return 0;
}
Represents a symmetric matrix.
Definition symmat.h:112

Constructor & Destructor Documentation

◆ RWSymRFQREigServer()

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

Constructs a server.

Member Function Documentation

◆ computeEigenVectors()

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

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

Implements RWSymEigServer< TypeT >.

◆ decompose()

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 © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.