Appendix A: System Routines — Algebra Utilities
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 .
k — Index of the top tag of an algebraic expression.
Inputs:
If k indexes an exponentiation tag, returns the index of the base. Otherwise
Outputs:
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));
}
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
235
Beta Version January 26, 2001