Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

F_MgcrLS Class Reference

#include <F_MgcrLS.hpp>

Inheritance diagram for F_MgcrLS:

Inheritance graph
[legend]
Collaboration diagram for F_MgcrLS:

Collaboration graph
[legend]
List of all members.

Detailed Description

Mgcr(m) krylov solver.

Author:
Bernard De Cuyper
Version:
1.15
Date:
12/10/2004
Remarks:
Tornado1 Iterative Linear Solver
 
Purpose:        Mgcr(m) krylov solver with restart each m iterations, for non symmetric/indefinite linear system
                        Used to solve a set of linearized differencial equations,....

                Mgcr is a Krylov solver working on residuals. It approximates a solution via generation of the suitable
                partial Krylov orthonormal base, especially in the restart case.
                We hope that a small number of Krylov sub-spaces are sufficient to lead to a good solution. 
                
                Mgcr is slightly faster than GMRES, it is also much less expansive that CGR.
                Mgcr need only to solve a upper triangular, and is not requiring to solve a minimisation.
                It does not breakdown, unless he found the exact solution!

Papers: "Modified Generalized Conjugate Residuals Method for Nonsymmetric Systems of Linear Equations."
                Zbigniew Leyk, report 1993, Australian National University.

                
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.


Public Methods

 F_MgcrLS (int maxIterations, int m=10, double epsilon=1.0e-4)
virtual ~F_MgcrLS ()
virtual FloatVectorsolve (AFloatMatrix *m, FloatVector *b, FloatVector *dest)

Protected Methods

virtual FloatVectorsingleSolve (AFloatMatrix *A, FloatVector *b, FloatVector *x=0)

Private Attributes

int m
int k
int width
double d
FloatVectorx0
FloatVectorr
FloatVectoralpha
FloatVectorc
FloatVectoras
FloatVector ** s
AFSymMatrixh


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com