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



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