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

F_CgLS1_LS.hpp

00001 #ifndef __F_CgLS1_LS_H__
00002 #define __F_CgLS1_LS_H__
00003 
00004 
00028 #include <stdio.h>
00029 #include "F_IterativeLS.hpp"
00030 
00031 
00032 class F_CgLS1_LS : public F_IterativeLS
00033 {
00034 private:
00035 
00036 double                  alpha;
00037 double                  beta;
00038 double                  gamma;
00039         
00040 FloatVector*            r;
00041 FloatVector*            p;      
00042 
00043 FloatVector*            q;
00044 FloatVector*            s;
00045 
00046 protected:
00047 
00048 virtual FloatVector* singleSolve(AFloatMatrix*  A, FloatVector* b, FloatVector* x=0);
00049 
00050 public:
00051 F_CgLS1_LS(int maxIterations, double epsilon=1.0e-4):F_IterativeLS(maxIterations, epsilon)
00052                 { r=p=q=s= 0;}
00053 virtual ~F_CgLS1_LS(){} 
00054 
00055 virtual FloatVector* solve(AFloatMatrix*        m, FloatVector* b, FloatVector* dest);
00056 };
00057 
00058 #endif
00059 
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