Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Linear Algebra Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSymEigDecomp<T>, RWHermEigDecomp<T>

Module:  Linear Algebra   Group:  Symmetric Eigenvalue Decomposition classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/lapack/symeig.h>    // RWSymEigDecomp<T>
#include <rw/lapack/hermeig.h>  // RWHermEigDecomp<T>

RWSymEigDecomp<double> eig(A);  // A is an
// RWGenMat<double>

Description

The class RWSymEigDecomp<T> encapsulates the eigenvalues and eigenvectors of a symmetric matrix, a Hermitian in the complex case. You can construct an eigenvalue decomposition object in two ways:

Example

Public Constructors

RWSymEigDecomp();
RWHermEigDecomp();
RWSymEigDecomp(const RWSymEigDecomp<T>& A);
RWHermEigDecomp(const RWHermEigDecomp<T>& A);
RWHermEigDecomp(const RWHermEigDecomp<double>& A);
RWSymEigDecomp(const RWSymMat<T>& A, 
bool computeVecs=true); RWHermEigDecomp(const RWHermMat<T>& A,
bool computeVecs=true); RWSymEigDecomp(const RWSymBandMat<T>& A,
bool cv=true); RWHermEigDecomp(const RWHermBandMat<T>& A,
bool =true);

Public Member Functions

unsigned
RWSymEigDecomp<T>::cols();
unsigned
RWHermEigDecomp<T>::cols();
T
RWSymEigDecomp<T>::eigenValue(int i) const;
double
RWHermEigDecomp<DComplex>::eigenValue(int i) const;
RWMathVec<T>
RWSymEigDecomp<T>::eigenValues() const;
RWMathVec<double>
RWHermEigDecomp<DComplex>::eigenValues() const;
RWMathVec<T>
RWSymEigDecomp<T>::eigenVector(int i) const;
RWMathVec<T>
RWHermEigDecomp<T>::eigenVector(int i) const;
RWGenMat<T>
RWSymEigDecomp<T>::eigenVectors() const;
RWGenMat<T>
RWHermEigDecomp<T>::eigenVectors() const;
void
RWSymEigDecomp<T>::factor(const RWSymMat<T>& A,
bool computeVecs=true); void RWHermEigDecomp<T>::factor(const RWHermMat<T>& A,
bool computeVecs =true); void RWSymEigDecomp<T>::factor(const RWSymBandMat<T>& A,
bool computeVecs=true); void RWHermEigDecomp<T>::factor(RWHermBandMat<T>& A,
bool computeVecs=true);
bool
RWSymEigDecomp<T>::fail() const;
bool
RWHermEigDecomp<T>::fail() const;
bool
RWSymEigDecomp<T>::good() const;
bool
RWHermEigDecomp<T>::good() const;
bool
RWSymEigDecomp<T>::inaccurate() const;
bool
RWHermEigDecomp<T>::inaccurate() const;
unsigned
RWSymEigDecomp<T>::numEigenValues() const;
unsigned
RWHermEigDecomp<T>::numEigenValues() const;
unsigned
RWSymEigDecomp<T>::numEigenVectors() const;
unsigned
RWHermEigDecomp<T>::numEigenVectors() const;
unsigned
RWSymEigDecomp<T>::rows();
unsigned
RWHermEigDecomp<T>::rows();

Public Member Operators

void  RWSymEigDecomp<T>::operator=
(const RWSymEigDecomp<T>&); void RWHermEigDecomp<T>::operator=
(const RWHermEigDecomp<T>&);


Previous fileTop of DocumentContentsIndex pageNext file

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