Equation Compiler Plugin 3.1 review
DownloadEquation Compiler Plugin is a REALbasic plugin which compiles a user entered string containing a mathematical formula into machine language for rapid evaluation.
|
|
Equation Compiler Plugin is a REALbasic plugin which compiles a user entered string containing a mathematical formula into machine language for rapid evaluation.
Only two functions are needed for the plugin. They are compile() and evaluate(), both of which can take a variable number of arguments.
The compile() function can take from 1 to 7 arguments. The first is the function text. The remaining are the string names of the user variables. Their order defines how the plugin uses the arguments of the evaluate function. The return type of compile() is a Boolean, true for a good compile, false for a bad one.
The evaluate() function takes from 0 to 6 arguments. These are the input double values for the variables defined with compile{}. With no argument the function has no variables, as say 2*exp(3.5). The return type of evaluate() is a double which results from evaluating the function.
Equation Compiler Plugin 3.1 search tags