Changeset 17305 for trunk/HeuristicLab.Problems.DataAnalysis/3.4
- Timestamp:
- 10/03/19 14:39:46 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval.cs
r17301 r17305 231 231 return new Interval(lower, upper); 232 232 } 233 234 public static Interval Absolute(Interval a) { 235 var absLower = Math.Abs(a.LowerBound); 236 var absUpper = Math.Abs(a.UpperBound); 237 return new Interval(Math.Min(absLower, absUpper), Math.Max(absLower, absUpper)); 238 } 233 239 #endregion 234 240 }
Note: See TracChangeset
for help on using the changeset viewer.