Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10490


Ignore:
Timestamp:
02/20/14 17:49:51 (11 years ago)
Author:
gkronber
Message:

#2125 code cleanup

File:
1 edited

Legend:

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

    r10489 r10490  
    105105    }
    106106
    107 
    108     private static Func<Term, UnaryFunc> asin = UnaryFunc.Factory(
    109         x => Math.Asin(x),      // evaluate
    110         x => 1 / Math.Sqrt(1 - x * x));  // derivative of atan
    111     private static Func<Term, UnaryFunc> sqrt = UnaryFunc.Factory(
    112       x => Math.Sqrt(x),
    113       x => 1 / (2 * Math.Sqrt(x)));
    114 
    115107    public ParameterizedCovarianceFunction GetParameterizedCovarianceFunction(double[] p, IEnumerable<int> columnIndices) {
    116108      double length, scale;
     
    168160          yield return 2.0 * scale * Math.Asin(f);
    169161        }
    170 
    171       };
     162      }
    172163    }
    173 
    174164  }
    175165}
Note: See TracChangeset for help on using the changeset viewer.