Appendix A: System Routines — Algebra Utilities
re_index
Declaration:
EStackIndex re_index (EStackIndex k )
Category(ies):
Algebra Utilities
Description:
If k indexes an IM_RE_TAG, returns the index of the second expression
below it, which is the real part for internally-simplified algebraic
expressions. Otherwise returns k .
Inputs:
k — Indexes the top tag of an internally-simplified algebraic expression,
Outputs:
If k indexes an IM_RE_TAG, returns the index of the second expression
below it, which is the real part for internally-simplified algebraic
expressions. Otherwise returns k .
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_im, replace_top2_with_imre
Example:
push_expression (Integer1Index);
real_part = top_estack;
push_expression (FloatPiIndex);
replace_top2_with_imre (real_part);
re_index (top_estack);
TI-89 / TI-92 Plus Developer Guide
an algebraic comparison, or an aggregate thereof.
/* Returns the index of a tagged integer 1 */
Not for Distribution
293
Beta Version January 26, 2001