inlib  1.2.0
/Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/fit_func
Go to the documentation of this file.
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
00002 // See the file inlib.license for terms.
00003 
00004 #ifndef inlib_fit_func
00005 #define inlib_fit_func
00006 
00007 #include <vector>
00008 #include <string>
00009 
00010 namespace inlib {
00011 
00012 class fit_func {
00013 public:
00014   virtual ~fit_func(){}
00015 public:
00016   typedef std::vector<double> point;
00017 public:
00018   virtual double value(const point& pt) const = 0; 
00019   virtual bool set(const double params[])  = 0; 
00020 };
00021 
00022 }
00023 
00024 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines