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

AbsFObjectiveFn.hpp

00001 #ifndef __AbsFObjectiveFn_H__
00002 #define __AbsFObjectiveFn_H__
00003 
00004 
00027 #include "FloatVector.hpp"
00028 #include "AFSymMatrix.hpp"
00029 
00030 class AbsFObjectiveFn 
00031 {
00032 public:
00033 virtual ~AbsFObjectiveFn(){}    
00034 
00035 virtual double          f(FloatVector* x)=0;                                            // function
00036 virtual FloatVector*    firstDeriv(FloatVector* x, FloatVector* dest=0)=0;      // first derivation
00037 
00038 virtual AFSymMatrix*    hessianDiag(FloatVector* x, AFSymMatrix* dest=0)=0;     // approximated Hessian
00039 
00040 virtual AFSymMatrix*    hessian(FloatVector* x, AFSymMatrix* dest=0)=0;         // Hessian
00041 
00042 // used for testing
00043 virtual FloatVector*    startPoint()=0;
00044 virtual FloatVector*    solutionPoint()=0;      
00045 };
00046 
00047 #endif
00048 
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