/// <summary> /// EqCompiler(string) constructor: creates the compiler object and sets the current function to the string passed /// </summary> /// <param name="sEquation"></param> public EqCompiler(string sEquation, bool bIncludeStandardFunctions) { SetFunction(sEquation); if (bIncludeStandardFunctions) { CFunctionLibrary.AddFunctions(this); } }
/// <summary> /// EqCompiler() constructor: creates the compiler object with an empty function that returns '0' if evaluated. /// </summary> public EqCompiler(bool bIncludeStandardFunctions) { SetFunction("0"); if (bIncludeStandardFunctions) { CFunctionLibrary.AddFunctions(this); } }