Changeset 17135


Ignore:
Timestamp:
07/13/19 09:27:42 (2 months ago)
Author:
gkronber
Message:

#2925: add support for AQ() function to IntervalInterpreter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalInterpreter.cs

    r16892 r17135  
    258258            var argumentInterval = Evaluate(instructions, ref instructionCounter, nodeIntervals);
    259259            result = Interval.SquareRoot(argumentInterval);
     260            break;
     261          }
     262        case OpCodes.AnalyticQuotient:
     263          {
     264            var a = Evaluate(instructions, ref instructionCounter, nodeIntervals);
     265            var b = Evaluate(instructions, ref instructionCounter, nodeIntervals);
     266            result = Interval.Divide(a, Interval.SquareRoot(Interval.Add(new Interval(1.0, 1.0), Interval.Square(b))));
    260267            break;
    261268          }
Note: See TracChangeset for help on using the changeset viewer.