Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/19/14 12:46:06 (9 years ago)
Author:
ascheibe
Message:

#2031

  • fixed confidence intervals calculation
  • added more unit tests
  • some cosmetic changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/LogFitting.cs

    r11375 r11699  
    2626  public class LogFitting : IFitting {
    2727    private void LogFunc(double[] c, double[] x, ref double func, object obj) {
    28       func = c[0] * System.Math.Exp(c[1] / x[0]);
     28      func = c[0] * Math.Exp(c[1] / x[0]);
    2929    }
    3030
     
    7474
    7575      for (int i = 0; i < stdX.Count(); i++) {
    76         newRow.Values.Add(c0 * System.Math.Exp(c1 / stdX[i]));
     76        newRow.Values.Add(c0 * Math.Exp(c1 / stdX[i]));
    7777      }
    7878
     
    8686
    8787      for (int i = 0; i < x.Count(); i++) {
    88         newRow.Values.Add(c0 * System.Math.Exp(c1 / x[i]));
     88        newRow.Values.Add(c0 * Math.Exp(c1 / x[i]));
    8989      }
    9090
Note: See TracChangeset for help on using the changeset viewer.