Beispiel #1
0
        public override CalculationList CreateNewCalculation(List <double> newValues, Func <List <double>, double> operation)
        {
            var           initialCalc = base.calculationResult;
            List <double> _newList    = new List <double> {
                initialCalc
            };

            _newList.AddRange(newValues);


            return(CalculationList.Create(_newList, operation));
        }
Beispiel #2
0
 public override CalculationList CreateNewCalculation(List <double> newValues, Func <List <double>, double> operation)
 {
     return(CalculationList.Create(newValues, operation));
 }