Changeset 8455 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceLinear.cs
- Timestamp:
- 08/09/12 09:33:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceLinear.cs
r8417 r8455 29 29 [Item(Name = "CovarianceLinear", Description = "Linear covariance function for Gaussian processes.")] 30 30 public class CovarianceLinear : Item, ICovarianceFunction { 31 private static readonly double[] emptyArray = new double[0];32 33 31 [Storable] 34 32 private double[,] x; … … 89 87 } 90 88 91 public double [] GetGradient(int i, int j) {92 return emptyArray;89 public double GetGradient(int i, int j, int k) { 90 throw new NotSupportedException("CovarianceLinear does not have hyperparameters."); 93 91 } 94 92
Note: See TracChangeset
for help on using the changeset viewer.