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

RWEigDecomp<T>

Module:  Linear Algebra   Group:  Nonsymmetric Eigenvalue Decomposition classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/lapack/eig.h>

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

Description

The class RWEigDecomp<T> encapsulates the eigenvalues and eigenvectors of a nonsymmetric matrix. You can construct an eigenvalue decomposition object in two ways:

Example

Public Constructors

RWEigDecomp();
RWEigDecomp<T>(const RWEigDecomp<T>& A);
RWEigDecomp<DComplex>(const RWEigDecomp<double>& A);
RWEigDecomp(const RWGenMat<T>& A,
bool computeVecs=true);

Public Member Functions

unsigned
cols();
DComplex
eigenValue(int i) const;
RWMathVec<DComplex>
eigenValues() const;
void
factor(const RWGenMat<T>& A,
bool computeVecs=true);
bool
fail() const;
bool
good() const;
bool
inaccurate() const;
RWMathVec<DComplex>
leftEigenVector(int i) const;
RWGenMat<DComplex>
leftEigenVectors() const;
unsigned 
numEigenValues() const;
unsigned 
numLeftEigenVectors() const;
unsigned 
numRightEigenVectors() const;
RWMathVec<DComplex>
rightEigenVector(int i) const;
RWGenMat<DComplex>
rightEigenVectors() const;
unsigned
rows();

Public Member Operator

void   operator=(const RWEigDecomp<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.