Ejemplo n.º 1
0
        public override double Execute(double[][] data)
        {
            var first  = this.first.Execute(data);
            var second = this.second.Execute(data);

            return(OperationHelper.Calculate(first, second, operation));
        }
Ejemplo n.º 2
0
        public override double Calculate(double[][] data, int index)
        {
            var value1 = first.Calculate(data, index);
            var value2 = second.Calculate(data, index);

            return(OperationHelper.Calculate(value1, value2, operation));
        }