Changeset 8562 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceLinear.cs
- Timestamp:
- 09/04/12 09:50:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceLinear.cs
r8484 r8562 51 51 52 52 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); 54 54 } 55 55 … … 59 59 60 60 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); 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.