Changeset 9108 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceFunctions/CovarianceRationalQuadraticIso.cs
- Timestamp:
- 01/04/13 16:06:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceFunctions/CovarianceRationalQuadraticIso.cs
r8982 r9108 84 84 int c = 0; 85 85 // gather parameter values 86 if (InverseLengthParameter.Value != null) { 87 inverseLength = InverseLengthParameter.Value.Value; 88 } else { 89 inverseLength = 1.0 / Math.Exp(p[c]); 90 c++; 91 } 86 92 if (ScaleParameter.Value != null) { 87 93 scale = ScaleParameter.Value.Value; … … 94 100 } else { 95 101 shape = Math.Exp(p[c]); 96 c++;97 }98 if (InverseLengthParameter.Value != null) {99 inverseLength = InverseLengthParameter.Value.Value;100 } else {101 inverseLength = 1.0 / Math.Exp(p[c]);102 102 c++; 103 103 }
Note: See TracChangeset
for help on using the changeset viewer.