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

F_QmrCgStabLS.hpp

00001 #ifndef __F_QmrCgStabLS_H__
00002 #define __F_QmrCgStabLS_H__
00003 
00004 
00035 #include <stdio.h>
00036 #include "F_IterativeLS.hpp"
00037 
00038 
00039 class F_QmrCgStabLS : public F_IterativeLS
00040 {
00041 protected:
00042 
00043 double                  alpha;
00044 double                  beta;
00045 double                  rho;
00046 double                  omega;
00047 double                  tau;
00048 double                  theta;
00049 double                  eta;
00050         
00051 FloatVector*            r;
00052 FloatVector*            p;
00053 
00054 FloatVector*            rbar0;
00055 FloatVector*            v;
00056 FloatVector*            d;
00057 FloatVector*            dt;
00058 FloatVector*            s;
00059 FloatVector*            t;
00060 FloatVector*            xt;
00061 
00062 protected:
00063 
00064 virtual FloatVector* singleSolve(AFloatMatrix*  A, FloatVector* b, FloatVector* x=0);
00065 
00066 public:
00067 F_QmrCgStabLS(int maxIterations, double epsilon=1.0e-4):F_IterativeLS(maxIterations, epsilon)
00068                 { r=p= rbar0=s=v=d=dt=t= 0;}
00069 virtual ~F_QmrCgStabLS(){}      
00070 
00071 virtual FloatVector* solve(AFloatMatrix*        m, FloatVector* b, FloatVector* dest);
00072 };
00073 
00074 #endif
00075 
00076 
00077          
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