Formula

Evaluator for arbitrary formula expressions.

Methods

void parse( string& formula )

Parse an expression into this formula.

double evaluate( Namespace@ ns = null )

Evaluate the formula expression with the current state of the namespace it was constructed with. Returns double : Value of the formula.