iterative scaling algorithm to equilibrate rows and column norms in matrices More...
Public Types | |
typedef MatrixType::Index | Index |
typedef MatrixType_ | MatrixType |
typedef MatrixType::Scalar | Scalar |
Public Member Functions | |
void | compute (const MatrixType &mat) |
void | computeRef (MatrixType &mat) |
IterScaling () | |
IterScaling (const MatrixType &matrix) | |
VectorXd & | LeftScaling () |
VectorXd & | RightScaling () |
void | setTolerance (double tol) |
~IterScaling () | |
Protected Member Functions | |
void | init () |
Protected Attributes | |
ComputationInfo | m_info |
bool | m_isInitialized |
VectorXd | m_left |
MatrixType | m_matrix |
int | m_maxits |
VectorXd | m_right |
double | m_tol |
iterative scaling algorithm to equilibrate rows and column norms in matrices
This class can be used as a preprocessing tool to accelerate the convergence of iterative methods
This feature is useful to limit the pivoting amount during LU/ILU factorization The scaling strategy as presented here preserves the symmetry of the problem NOTE It is assumed that the matrix does not have empty row or column,
Example with key steps
MatrixType_ | the type of the matrix. It should be a real square sparsematrix |
References : D. Ruiz and B. Ucar, A Symmetry Preserving Algorithm for Matrix Scaling, INRIA Research report RR-7552
typedef MatrixType::Index Eigen::IterScaling< MatrixType_ >::Index |
typedef MatrixType_ Eigen::IterScaling< MatrixType_ >::MatrixType |
typedef MatrixType::Scalar Eigen::IterScaling< MatrixType_ >::Scalar |
|
inline |
|
inline |
|
inline |
|
inline |
Compute the left and right diagonal matrices to scale the input matrix mat
FIXME This algorithm will be modified such that the diagonal elements are permuted on the diagonal.
Definition at line 75 of file Scaling.h.
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |