Property | Type | Description | |
---|---|---|---|
Tokenize | List |
Method | Description | |
---|---|---|
AddFunction ( string functionText, FunctionDelegate callbackMethod ) : void |
Adds a function to the grammar dictionaary so that it can be used in equations.
|
|
Equation ( ) : System |
Initializes a new instance of the Equationator.Equation class.
|
|
Parse ( string equationText ) : void |
Parse the specified equationText.
|
|
Solve ( ParamDelegate paramCallback ) : float |
Get a result from the equation
|
Method | Description | |
---|---|---|
Tokenize ( string equationText ) : List |
Tokenize the specified equationText.
|
public AddFunction ( string functionText, FunctionDelegate callbackMethod ) : void | ||
functionText | string | |
callbackMethod | FunctionDelegate | Callback method that will be called when $XXXX is encountered in an equation |
return | void |
public Parse ( string equationText ) : void | ||
equationText | string | Equation text. |
return | void |
public Solve ( ParamDelegate paramCallback ) : float | ||
paramCallback | ParamDelegate | This is a callback function to get the value of params to pass to this equation |
return | float |