Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/04/12 09:50:52 (12 years ago)
Author:
gkronber
Message:

#1902 implemented LinearARD and MaternIso covariance functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceLinear.cs

    r8484 r8562  
    5151
    5252    public double GetCovariance(double[,] x, int i, int j) {
    53       return Util.ScalarProd(Util.GetRow(x, i), Util.GetRow(x, j));
     53      return Util.ScalarProd(x, i, j);
    5454    }
    5555
     
    5959
    6060    public double GetCrossCovariance(double[,] x, double[,] xt, int i, int j) {
    61       return Util.ScalarProd(Util.GetRow(x, i), Util.GetRow(xt, j));
     61      return Util.ScalarProd(x, i, xt, j);
    6262    }
    6363  }
Note: See TracChangeset for help on using the changeset viewer.