|
PolishExpressionEvaluate Method
|
Evaluates specified expression.
Namespace:
Accord
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static double Evaluate(
string expression,
double[] variables
)
Public Shared Function Evaluate (
expression As String,
variables As Double()
) As Double
Request Example
View SourceParameters
- expression
- Type: SystemString
Expression written in postfix polish notation. - variables
- Type: SystemDouble
Variables for the expression.
Return Value
Type:
DoubleEvaluated value of the expression.
Exceptions Exception | Condition |
---|
ArgumentException | Unsupported function is used in the expression. |
ArgumentException | Incorrect postfix polish expression. |
See Also