268
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
numeric_factor_index
Declaration:
EStackIndex
numeric_factor_index
(EStackIndex
i
)
Category(ies):
Algebra Utilities
Description:
Internally-simplified products have at most one factor with a numeric tag, in
which case it is the deepest factor.
Returns the index of this syntactic factor if there is one. Otherwise returns
Float1Index if IS_ARITH_APPROX is true and Integer1Index if
IS_ARITH_APPROX is false.
Numeric factors in numerators and denominators are simplified into a
single numeric factor.
For example:
If i indexes the internally-simplified expression
6 * x/(4 * y)
then
numeric_factor_index
(i) returns index(3/2).
Inputs:
i
— Indexes the top tag of an internally-simplified algebraic expression.
Outputs:
Returns the index of this syntactic factor if there is one. Otherwise returns
Float1Index if IS_ARITH_APPROX is true and Integer1Index if
IS_ARITH_APPROX is false.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_constant_factors, index_numeric_term, push_constant_terms
(continued)