Changeset 8771
- Timestamp:
- 10/09/12 16:15:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceNoise.cs
r8678 r8771 91 91 92 92 public double GetCovariance(double[,] x, int i, int j, IEnumerable<int> columnIndices) { 93 return sf2;93 return i == j ? sf2 : 0.0; 94 94 } 95 95 96 96 public IEnumerable<double> GetGradient(double[,] x, int i, int j, IEnumerable<int> columnIndices) { 97 yield return 2 * sf2;97 yield return i == j ? 2 * sf2 : 0.0; 98 98 } 99 99
Note: See TracChangeset
for help on using the changeset viewer.