Appendix A: System Routines — Algebra Utilities
257
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
is_term_improper
Declaration:
Boolean
is_term_improper
(EStackIndex
i
)
Category(ies):
Algebra Utilities, Lists and Matrices
Description:
Determines whether the algebraic expression indexed by
i
is a nonsum and
if the degree of the expanded numerator would be at least as large as that
of the expanded denominator in the main variable of the expression.
Inputs:
i
— Index of the top tag of an internally-simplified algebraic expression.
Outputs:
Returns TRUE if the algebraic expression indexed by
i
is a nonsum and if
the degree of the expanded numerator would be at least as large as that of
the expanded denominator in the main variable of the expression.
Otherwise returns 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_make_proper, push_numerator, push_denominator,
index_main_var, push_poly_deg_in_var_or_kern, push_poly_qr
Example:
push_quantum (8u);
numerator = top_estack; /* Push variable x */
push_sum (numerator, Integer1Index); /* Push x + 1 */
replace_top2_with_ratio (numerator); /* top_estack -> x/(x + 1) */
is_term_improper (top_estack); /* returns TRUE */