Changeset 18027 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.Analysis/3.3/Statistics/Fitting/ExpFitting.cs
- Timestamp:
- 07/20/21 18:13:55 (3 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Analysis (added) merged: 17931
- Property svn:mergeinfo changed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Analysis/3.3/Statistics/Fitting/ExpFitting.cs
r17180 r18027 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);
Note: See TracChangeset
for help on using the changeset viewer.