- Timestamp:
- 07/13/21 10:55:09 (3 years ago)
- Location:
- branches/3087_Ceres_Integration
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3087_Ceres_Integration
- Property svn:mergeinfo changed
-
branches/3087_Ceres_Integration/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Analysis (added) merged: 17931
- Property svn:mergeinfo changed
-
branches/3087_Ceres_Integration/HeuristicLab.Analysis/3.3/Statistics/Fitting/ExpFitting.cs
r17180 r18006 41 41 public void Calculate(double[] y, double[] x, out double p0) { 42 42 if (y.Count() != x.Count()) { 43 throw new ArgumentException("The leng htof x and y needs do be equal. ");43 throw new ArgumentException("The length of x and y needs do be equal. "); 44 44 } 45 45 46 46 double[] c = new double[] { 0.3 }; 47 double epsf = 0;48 47 double epsx = 0.000001; 49 48 int maxits = 0; … … 59 58 60 59 alglib.lsfitcreatef(xx, y, c, diffstep, out state); 61 alglib.lsfitsetcond(state, eps f, epsx, maxits);60 alglib.lsfitsetcond(state, epsx, maxits); 62 61 alglib.lsfitfit(state, ExpFunc, null, null); 63 62 alglib.lsfitresults(state, out info, out c, out rep); -
branches/3087_Ceres_Integration/HeuristicLab.Analysis/3.3/Statistics/Fitting/LogFitting.cs
r17180 r18006 45 45 46 46 double[] c = new double[] { 0.3, 0.3 }; 47 double epsf = 0;48 47 double epsx = 0.000001; 49 48 int maxits = 0; … … 59 58 60 59 alglib.lsfitcreatef(xx, y, c, diffstep, out state); 61 alglib.lsfitsetcond(state, eps f, epsx, maxits);60 alglib.lsfitsetcond(state, epsx, maxits); 62 61 alglib.lsfitfit(state, LogFunc, null, null); 63 62 alglib.lsfitresults(state, out info, out c, out rep);
Note: See TracChangeset
for help on using the changeset viewer.