Files Classes Functions Hierarchy
00001 #ifndef LEASTSQRS_H 00002 #define LEASTSQRS_H 00003 00004 #include <point.h> 00005 00006 typedef point2<double> pt2; 00007 typedef unsigned int uint; 00008 typedef unsigned int const uintc; 00009 00019 class leastsqrs 00020 { 00022 vector<pt2> const & pts; 00023 uint size; 00024 public: 00025 00027 double alpha; 00029 double beta; 00031 double * xi; 00032 00033 leastsqrs 00034 ( 00035 vector<pt2> const & pts_, 00036 double const alpha_=1.0, 00037 double const beta_=1.0 00038 ); 00039 ~leastsqrs(); 00040 00041 void operator () 00042 ( 00043 double & fval 00044 ); 00045 }; 00046 00047 00048 00049 #endif 00050 00051
1.5.8