Appendix A: System Routines — Expression Evaluation /
Algebraic Simplification
547
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_internal_simplify
Declaration:
void
push_internal_simplify
(EStackIndex
i
)
Category(ies):
Expression Evaluation / Algebraic Simplification
Description:
The low-level entry point to the simplifier accepts all valid tokenized
expressions and produces an internal tokenized expression.
Inputs:
i
— EStackIndex of tokenized expression.
Outputs:
Pushes onto the expression stack the internal tokenized form of the result
of evaluating / simplifying the input.
Assumptions:
Input must be a logical, Boolean, or algebraic expression or relation. Use
push_simplify_statements
to process TI
-
BASIC commands.
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.01 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_simplify_statements, push_simplify,
replace_top_with_post_simplified
Example:
If i is the EStackIndex of the external-tokenized form of the complex expression a + b
†
i
,
which is A_VAR_TAG B_VAR_TAG I_TAG MULTIPLY_TAG ADD_TAG, then
push_internal_simplify (i);
pushes the internal-tokenized form of the expression, which is
A_VAR_TAG B_VAR_TAG IM_RE_TAG.