| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Description | ||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||
| Example | ||||||||||||||||||||||||||||||
In ilu.cpp:
typedef matrix< Type, rectangle<>,
array< compressed<> >,
row_major >::type Matrix;
Matrix A(5, 5);
dense1D<Type> x(A.nrows(), Type(0));
dense1D<Type> b(A.ncols());
for (dense1D<Type>::iterator i=b.begin(); i!=b.end(); i++)
*i = 1.;
// ilu preconditioner
ILU<Matrix> precond(A);
//iteration
noisy_iteration<double> iter(b, max_iter, 1.e-6);
//qmr algorithm
qmr(A, x, b, precond.left(), precond.right(), iter);
| ||||||||||||||||||||||||||||||
| Definition | ||||||||||||||||||||||||||||||
| ilu.h | ||||||||||||||||||||||||||||||
| Template Parameters | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Model of | ||||||||||||||||||||||||||||||
| Members | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| New members | ||||||||||||||||||||||||||||||
| Notes | ||||||||||||||||||||||||||||||
| See also | ||||||||||||||||||||||||||||||

Copyright ©
1998,1999 University of Notre Dame. All Rights Reserved.