Im_Index - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

238

im_index

Declaration:
EStackIndex im_index (EStackIndex k )
Category(ies):
Algebra Utilities
Description:
If k indexes an IM_RE_TAG, returns the index of the expression below it,
which is the imaginary part for internally-simplified algebraic expressions.
Otherwise returns the index of an integer or float 0, depending on the
arithmetic mode.
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 expression below it,
which is the imaginary part for internally-simplified algebraic expressions.
Otherwise returns the index of an integer or float 0, depending on the
arithmetic mode.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
re_index, replace_top2_with_imre
Example:
push_expression (Integer1Index);
real_part = top_estack;
push_expression (FloatPiIndex);
replace_top2_with_imre (real_part);
im_index (top_estack);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Algebra Utilities
/* Returns the index of a float pi */
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents