CalcEngine.MathTrig.Sum C# (CSharp) Method

Sum() static private method

static private Sum ( List p ) : object
p List
return object
        static object Sum(List<Expression> p)
        {
            var tally = new Tally();
            foreach (Expression e in p)
            {
                tally.Add(e);
            }
            return tally.Sum();
        }