Expression Class

Helpers methods to work with math expression represented in reverse Polish notation (RPN).

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class Expression
Inheritance
Object    Expression

Constructors

ExpressionInitializes a new instance of the Expression class

Methods

CheckDefinition Checks if left part of the definition expression is specified correctly.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GeneratesDefinitionExpression Recreates definition of the expression using specified name, variables and the answer.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(Term[], Term[]) Search of the elements in the math expression.
IndexOf(Term[], Term[], Int32) Search of the elements in the math expression.
IndexOf(Term[], Term[], Int32, Int32) Search of the elements in the math expression.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Merge(Term[], Term[], Int32) Merging second expression into the first one in the specified position.
Merge(Term[], Term[], Int32, Int32) Merging second expression into the first one in the specified position.
Split(Term[], Int32) Splits expression on the array of arguments based on the parent element specified by index.
Split(Term[], Int32, Int32) Splits expression on the array of arguments based on the parent element specified by index.
Split(Term[], Int32, Int32, Int32) Splits expression on the array of arguments based on the parent element specified by index.
SplitSingle(Term[], Int32, Int32) Returns the specified argument of expression based on the parent element specified by index.
SplitSingle(Term[], Int32, Int32, Int32, Int32) Splits mathemetical expression into parts according to the given arguments.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also