Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/12 18:45:15 (12 years ago)
Author:
gkronber
Message:

#1902: added masking covariance function and made necessary changes to interface and utility class.

File:
1 edited

Legend:

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

    r8612 r8678  
    9090    }
    9191
    92     public double GetCovariance(double[,] x, int i, int j) {
     92    public double GetCovariance(double[,] x, int i, int j, IEnumerable<int> columnIndices) {
    9393      return sf2;
    9494    }
    9595
    96     public IEnumerable<double> GetGradient(double[,] x, int i, int j) {
     96    public IEnumerable<double> GetGradient(double[,] x, int i, int j, IEnumerable<int> columnIndices) {
    9797      yield return 2 * sf2;
    9898    }
    9999
    100     public double GetCrossCovariance(double[,] x, double[,] xt, int i, int j) {
     100    public double GetCrossCovariance(double[,] x, double[,] xt, int i, int j, IEnumerable<int> columnIndices) {
    101101      return 0.0;
    102102    }
Note: See TracChangeset for help on using the changeset viewer.