by Andreas Jdger
The inspiration to write this code was to have an easy-to-use parser for functions given as string. You have a string like

cos(x)-7*x/(1+x)

and you want to compute some values, maybe for displaying the graph of the function. You can write code like this:

CFunction* fkt =
CFunction::Parse(”cos(x)-7*x/(1+x)”);
long double y = fkt->Execute(1.5);

There [...]