Conversion<T> Class

Parent class contains logic to convert string of math expression to the reverse Polish notation (RPN).

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public abstract class Conversion<T>
where T : IPrimitive
Inheritance
Object    Conversion<T>

Type Parameters

T
Expression component type to store the primitives in.

Constructors

Conversion<T>Initializes a new instance of the Conversion<T> class

Methods

CreateBracket Creates Bracket.
CreateFunction(String) Creates a Function.
CreateFunction(T, Int32) Preparing of the next stack element.
CreateOperand Creates Operand.
CreateOperator Creates Operator.
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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PushFromStack Moving an expression component from the stack to result.
ToPostfix

Converts a mathematical expression represented as a string to an array of expression components in reverse Polish notation (RPN).

  Important

Before calling this method make sure that both delimiters (Decimal Symbol and Argument Separator) are correctly specified in the global parameters.

ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

result Result stack.

See Also