Changeset 10490
- Timestamp:
- 02/20/14 17:49:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceFunctions/CovarianceNeuralNetwork.cs
r10489 r10490 105 105 } 106 106 107 108 private static Func<Term, UnaryFunc> asin = UnaryFunc.Factory(109 x => Math.Asin(x), // evaluate110 x => 1 / Math.Sqrt(1 - x * x)); // derivative of atan111 private static Func<Term, UnaryFunc> sqrt = UnaryFunc.Factory(112 x => Math.Sqrt(x),113 x => 1 / (2 * Math.Sqrt(x)));114 115 107 public ParameterizedCovarianceFunction GetParameterizedCovarianceFunction(double[] p, IEnumerable<int> columnIndices) { 116 108 double length, scale; … … 168 160 yield return 2.0 * scale * Math.Asin(f); 169 161 } 170 171 }; 162 } 172 163 } 173 174 164 } 175 165 }
Note: See TracChangeset
for help on using the changeset viewer.