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

RWBalanceDecomp<T>

Module:  Linear Algebra   Group:  Decomposition Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/lapack/bal.h>

RWBalanceDecomp<double> bal(A);     // A is a RWGenMat<double>

Description

A permutation and balance transformation is often performed on a nonsymmetric matrix before computing its eigenvalues. The permutation attempts to break the matrix into three independent blocks such that the first and last block are triangular, and the balance transformation is a diagonal scaling transformation that attempts to make the row and column norms close to each other. The class RWBalanceDecomp<T> encapsulates the decomposition:

where B=PD, an amalgamation of the permutation and balance transformations. This decomposition is used internally by the nonsymmetric eigenvalue decomposition classes, including the Schur and Hessenberg decomposition classes.

Public Constructors

RWBalanceDecomp();
RWBalanceDecomp(const RWGenMat<T>& A,
         bool permute=true, const bool scale=true);

Public Member Functions

const RWBalanceTransform<T> 
B() const;
const RWGenMat<T> 
C() const;
unsigned
cols() const;
unsigned
rows() const;


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.