The Comparative type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Comparative |
Constructor. Sets the number of parameters to 2. Initializes the
tolerance for comparing Complex values.
|
Methods
Name | Description | |
---|---|---|
![]() |
CheckNumberOfParameters |
Checks the number of parameters of the function.
Functions which set numberOfParameter=-1 should overload this method
(Inherited from PostfixMathCommand.) |
![]() |
CheckStack |
Check whether the stack is not null, throw a EvaluationException if it is.
(Inherited from PostfixMathCommand.) |
![]() |
Compare | |
![]() |
Eq | |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
Ge | |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetNumberOfParameters |
Return the required number of parameters.
(Inherited from PostfixMathCommand.) |
![]() |
GetTolerance |
Returns the tolerance used for comparing complex numbers
|
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
Gt | |
![]() |
Le | |
![]() |
Lt | |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
Ne | |
![]() |
Run | (Overrides PostfixMathCommand..::.Run(Stack<(Of <(Object>)>)).) |
![]() |
SetCurNumberOfParameters |
Sets the number of current number of parameters used in the next call of
run(). This method is only called when the reqNumberOfParameters is -1.
(Inherited from PostfixMathCommand.) |
![]() |
SetTolerance |
Sets the tolerance used for comparing complex numbers
|
![]() |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() |
curNumberOfParameters |
Number of parameters to be used for the next run() invocation. Applies
only if the required number of parameters is variable (numberOfParameters = -1).
(Inherited from PostfixMathCommand.) |
![]() ![]() |
EQ | |
![]() ![]() |
GE | |
![]() ![]() |
GT | |
![]() |
id |
Used to represent which operator the class represents.
|
![]() ![]() |
LE | |
![]() ![]() |
LT | |
![]() ![]() |
NE | |
![]() |
numberOfParameters |
Number of parameters a the function requires. Initialize this value to
-1 if any number of parameters should be allowed.
(Inherited from PostfixMathCommand.) |