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

F_SteepestDescentLS.hpp

00001 #ifndef __F_SteepestDescentLS_H__
00002 #define __F_SteepestDescentLS_H__
00003 
00004 
00033 #include <stdio.h>
00034 #include "F_IterativeLS.hpp"
00035 
00036 
00037 class F_SteepestDescentLS : public F_IterativeLS
00038 {
00039 private:
00040 
00041 double                  alpha;
00042         
00043 FloatVector*            r;
00044 FloatVector*            u;      
00045 
00046 protected:
00047 
00048 virtual FloatVector* singleSolve(AFloatMatrix*  A, FloatVector* b, FloatVector* x=0);
00049 
00050 public:
00051 F_SteepestDescentLS(int maxIterations, double epsilon=1.0e-4):F_IterativeLS(maxIterations, epsilon)
00052                 { r=u= 0;}
00053 virtual ~F_SteepestDescentLS(){}        
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