struct ExprNode MathExpr
Definition mathexpr.h:32
void mathexpr_delete(MathExpr *expr)
Recursively release a complete postfix MathExpr list.
Definition mathexpr.c:882
double mathexpr_eval(MathExpr *expr, double(*getVal)(int))
Evaluate a legacy postfix expression using a local operand stack.
Definition mathexpr.c:637
MathExpr * mathexpr_create(char *s, int(*getVar)(char *))
Compile an infix formula into an owned postfix expression list.
Definition mathexpr.c:902
int ivar
Definition mathexpr.h:27
struct ExprNode * prev
Definition mathexpr.h:29
int opcode
Definition mathexpr.h:26
double fvalue
Definition mathexpr.h:28
struct ExprNode * next
Definition mathexpr.h:30