Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/04/12 11:25:56 (12 years ago)
Author:
gkronber
Message:

#1902 implemented RQard covariance function.

Location:
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
Files:
1 added
2 edited

Legend:

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

    r8491 r8565  
    3737    [Storable]
    3838    private double[] inverseLength;
    39     public double[] Length {
     39    public double[] InverseLength {
    4040      get {
    4141        if (inverseLength == null) return new double[0];
     
    5353    protected CovarianceSEard(CovarianceSEard original, Cloner cloner)
    5454      : base(original, cloner) {
    55       if (original.inverseLength != null) {
    56         this.inverseLength = new double[original.inverseLength.Length];
    57         Array.Copy(original.inverseLength, this.inverseLength, inverseLength.Length);
    58       }
     55      this.inverseLength = original.InverseLength; // array is cloned in the getter
    5956      this.sf2 = original.sf2;
    6057    }
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj

    r8562 r8565  
    120120    </Compile>
    121121    <Compile Include="FixedDataAnalysisAlgorithm.cs" />
     122    <Compile Include="GaussianProcess\CovarianceRQArd.cs" />
    122123    <Compile Include="GaussianProcess\CovarianceMaternIso.cs" />
    123124    <Compile Include="GaussianProcess\CovarianceLinearArd.cs" />
Note: See TracChangeset for help on using the changeset viewer.