Appendix A: System Routines — Algebra Utilities
235
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
factor_base_index
Declaration:
EStackIndex
factor_base_index
(EStackIndex
k
)
Category(ies):
Algebra Utilities
Description:
If
k
indexes an exponentiation tag, returns the index of the base. Otherwise
returns
k
.
Inputs:
k
— Index of the top tag of an algebraic expression.
Outputs:
If
k
indexes an exponentiation tag, returns the index of the base. Otherwise
returns
k
.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: factor_exponent_index
Example:
EStackIndex lead_base_index (EStackIndex i)
/* Returns the index of the lead base of any algebraic expression indexed by i. */
{ return factor_base_index (lead_factor_index (i));
}