SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWHermRFQREigServer< TypeT > Class Template Reference

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

#include <rw/lapack/heigsrv.h>

Inheritance diagram for RWHermRFQREigServer< TypeT >:
RWHermEigServer< TypeT >

Public Member Functions

 RWHermRFQREigServer ()
 
virtual bool computeEigenVectors () const
 
virtual RWSymEigDecomp< double > decompose (const RWTriDiagDecomp< TypeT > &A)
 
- Public Member Functions inherited from RWHermEigServer< TypeT >
virtual RWHermEigDecomp< TypeT > operator() (const RWHermBandMat< TypeT > &A)
 
virtual RWHermEigDecomp< TypeT > operator() (const RWHermMat< TypeT > &A)
 

Detailed Description

template<class TypeT>
class RWHermRFQREigServer< TypeT >

The class RWHermRFQREigServer 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/heigsrv.h>
RWHermEigDecomp<DComplex> eig = server(A); // A is a
// RWHermBandMat<DComplex>
Encapsulates the eigenvalues and eigenvectors of a Hermitian matrix.
Definition hermeig.h:80
The server for the root-free QR method of computing eigenvalues.
Definition heigsrv.h:322
Example
#include <rw/lapack/heigsrv.h>
#include <iostream>
int main() {
RWHermMat<DComplex> A; // input a matrix
std::cin >> A;
RWHermRFQREigServer<DComplex> server; // configure a server
RWHermEigDecomp<DComplex> eig = server(A);
return 0;
}
Encapsulates a Hermitian matrix.
Definition hermmat.h:118

Constructor & Destructor Documentation

◆ RWHermRFQREigServer()

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

Constructs a server.

Member Function Documentation

◆ computeEigenVectors()

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

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

Implements RWHermEigServer< TypeT >.

◆ decompose()

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