Пример #1
0
        public IExpressionNode Simplify()
        {
            FirstParameter  = FirstParameter.Simplify();
            SecondParameter = SecondParameter.Simplify();
            if (!FirstParameter.ContainsVariable() && !SecondParameter.ContainsVariable())
            {
                return(new Constant(this.Evaluate(null)));
            }

            return(this);
        }