Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/09/21 19:41:33 (3 years ago)
Author:
gkronber
Message:

#3117: update alglib to version 3.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Analysis/3.3/Statistics/Fitting/ExpFitting.cs

    r17180 r17931  
    4141    public void Calculate(double[] y, double[] x, out double p0) {
    4242      if (y.Count() != x.Count()) {
    43         throw new ArgumentException("The lenght of x and y needs do be equal. ");
     43        throw new ArgumentException("The length of x and y needs do be equal. ");
    4444      }
    4545
    4646      double[] c = new double[] { 0.3 };
    47       double epsf = 0;
    4847      double epsx = 0.000001;
    4948      int maxits = 0;
     
    5958
    6059      alglib.lsfitcreatef(xx, y, c, diffstep, out state);
    61       alglib.lsfitsetcond(state, epsf, epsx, maxits);
     60      alglib.lsfitsetcond(state, epsx, maxits);
    6261      alglib.lsfitfit(state, ExpFunc, null, null);
    6362      alglib.lsfitresults(state, out info, out c, out rep);
Note: See TracChangeset for help on using the changeset viewer.