236
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
factor_exponent_index
Declaration:
EStackIndex
factor_exponent_index
(EStackIndex
k
)
Category(ies):
Algebra Utilities
Description:
If
k
indexes an exponentiation tag, returns the index of the exponent.
Otherwise, if IS_ARITH_APPROX is true, returns Float1Index. If
IS_ARITH_APPROX is false, returns Integer1Index.
Inputs:
k
— Index of the top tag of an algebraic expression.
Outputs:
If
k
indexes an exponentiation tag, returns the index of the exponent.
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_base_index
Example:
EStackIndex lead_exponent_index (EStackIndex i)
/* Returns index of the lead exponent of any expression indexed by i. */
{ return factor_exponent_index (lead_factor_index (i));
}