예제 #1
0
        public Expression(string inputString)
        {
            var v = Tokenizer.Tokenize(inputString);



            exprInternal = Parser.ParseExpression(v);
        }
예제 #2
0
 public BinaryOperation(ExpressionElement left, ExpressionElement right, Func <double, double, double> operation)
 {
     this.left      = left;
     this.right     = right;
     this.operation = operation;
 }
예제 #3
0
 public UnaryOperation(ExpressionElement element, Func <double, double> operation)
 {
     this.element   = element;
     this.operation = operation;
 }
예제 #4
0
 public Function(ExpressionElement input, Func <double, double> op)
 {
     argument  = input;
     operation = op;
 }