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

F_GmresLS Class Reference

#include <F_GmresLS.hpp>

Inheritance diagram for F_GmresLS:

Inheritance graph
[legend]
Collaboration diagram for F_GmresLS:

Collaboration graph
[legend]
List of all members.

Detailed Description

GMRES(m) krylov solver.

Author:
Bernard De Cuyper
Version:
1.17
Date:
14/10/2004
Remarks:
Tornado1 Iterative Linear Solver
Bug:
Seems unstable, problems with givens rotations ?
 
Purpose:        GMRES(m) krylov solver with restart each m iterations, for no symmetric linear system
                        Used to solve a set of linearized differencial equations,....

                GMRES is a fine Krylov solver. 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. 
                
                The ideal GMRES would use a complete base, but this need very large memory, if 
                the number of required iterations is high.

Papers: "Set 11: Krylov Method - GMRES", Kyle A.Gallivan, Lecture Spring 2004, University of Florida.

                "Krylov Subspace Iteration.", Henk A. van der Vorst, report 2000, Utrecht University.

                "Compact Linear Operators and Krylov Subspace Methods",
                Jan M Rasmussen, Master of Science Thesis 2001, Technical University of Danemark.

                Algorithm based on:
                1)a lecture of Gundolf Haase, Austria 20/03/2000.
                        Augmented with restart procedure every m iterations.
                2)"Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods",
                R. Barrett, M. Berry, Tony F. Chan, J. Demmel, J. Donato, J. Dongarra, V. Eijkout, 
                R. Pozo, C. Romine, Henk Van der Vorst, All & Utrecht University, All & Netherland, 1994.
                www.netlib.org
                

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


Public Methods

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

Protected Methods

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

Private Attributes

int m
int i
double normb
double beta
double residu
FloatVectorr
FloatVectorap
FloatVectorw
FloatVectors
FloatVectorcs
FloatVectorsn
FloatVector ** v
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