Changeset 1204 in Sophya for trunk/SophyaLib/NTools/generaldata.h
- Timestamp:
- Sep 29, 2000, 12:15:55 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/generaldata.h
r1110 r1204 138 138 double min=1.,double max=-1.,double coeff=0.8) const; 139 139 int GetMode(int var,double& mode,double min=1.,double max=-1.,double coeff=0.8) const; 140 double PolFit(int varx,Poly& pol,int degre,bool ey=true) const; 141 double PolFit(int varx,int vary,Poly2& pol,int degre1,int degre2=-1,bool ez=true) const; 140 double PolFit(int varx,Poly& pol,int degre,bool ey=true,double xc=0.) const; 141 double PolFit(int varx,int vary,Poly2& pol,int degre1,int degre2=-1,bool ez=true 142 ,double xc=0.,double yc=0.) const; 142 143 GeneralFitData FitResidus(GeneralFit& gfit) const; 143 144 GeneralFitData FitFunction(GeneralFit& gfit) const; … … 154 155 virtual string ColumnName(int k) const; 155 156 virtual string VarList_C(const char* nomx=NULL) const; 157 158 enum FitErrType {DefaultError,ConstantError,SqrtError,ProporError}; 159 static double ComputeError(double val,double err,FitErrType errtype=DefaultError 160 ,double errscale=1.,double errmin=0.,bool nozero=false); 156 161 157 162 protected:
Note:
See TracChangeset
for help on using the changeset viewer.