Method | Description | |
---|---|---|
Evaluate ( string mathInput, char vars, double varsValues ) : double |
Evaluate the mathematical expression.
|
|
GetPolishPostfixExpression ( ) : MathParserDataStructures.Operation[] |
Polish postfix expression.
|
|
GetVariables ( ) : char[] |
Gets the array of variables
|
|
GetVariablesValues ( ) : double[] |
Gets the array of variable's values
|
|
MathObj ( ) : System |
Create new MathObj object
|
Method | Description | |
---|---|---|
CalculateValue ( ) : double |
Calculate the value of the polish postfix notation
|
|
GeneratePolishPostfixExpression ( ) : void |
Generates polish postfix expression.
|
|
SemanticTransform ( ) : void |
Perform semantic transform of the introduced expression. Check if the expression is valid and build BinaryTree needed for polish postfix expression.
|
Method | Description | |
---|---|---|
Acos ( Stack |
Acos
|
|
Acot ( Stack |
Acot
|
|
Asin ( Stack |
Asin
|
|
Atan ( Stack |
Atan
|
|
Cos ( Stack |
Consine
|
|
Cot ( Stack |
Cotangent
|
|
Csc ( Stack |
Cosecant
|
|
End ( Stack |
End of the input stream.
|
|
Exp ( Stack |
Exp
|
|
ExpressionToTermW ( Stack |
Expression to TermW (E->TW)
|
|
Factor ( Stack |
Factor
|
|
FindValueOfSubstring ( ) : double |
Finds the value of substring in the input string.
|
|
KtoYKorKtoEps ( Stack |
K->YK or K->eps
|
|
Log ( Stack |
Logarithm
|
|
ParanthesisClose ( Stack |
Closing paranthesis.
|
|
PowerToFactoV ( Stack |
Power->FactorV
|
|
Sec ( Stack |
Secant
|
|
Sin ( Stack |
Sine
|
|
Sqrt ( Stack |
Sqrt
|
|
Tan ( Stack |
Tangent
|
|
TermToPowerK ( Stack |
Term -> PowerK
|
|
VtoZVorVtoEps ( Stack |
V->ZV or V->eps
|
|
WtoXWorEps ( Stack |
W->XW or W->eps
|
|
XtoMinusTermOrXtoPlusTerm ( Stack |
X->-T or X->+T
|
|
YtoMultiplyPowerOrYtoDividePower ( Stack |
Y->*P or Y->/P
|
|
ZtoPowerFactor ( Stack |
Z->^Factor
|
public Evaluate ( string mathInput, char vars, double varsValues ) : double | ||
mathInput | string | Mathematical expression |
vars | char | Character variables contained within the expression[x,y,z etc.] |
varsValues | double | Coresponding values of character variables within the expression |
return | double |
protected GeneratePolishPostfixExpression ( ) : void | ||
return | void |
public GetPolishPostfixExpression ( ) : MathParserDataStructures.Operation[] | ||
return | MathParserDataStructures.Operation[] |