Appendix A: System Routines — Algebra Utilities
283
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_nonconstant_factors
Declaration:
void
push_nonconstant_factors
(EStackIndex
i
)
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the product of all syntactic factors of the
expression indexed by
i
that include variables. If there are no nonconstant
factors, pushes Float1 if IS_ARITH_APPROX is true and Integer1 if
IS_ARITH_APPROX is false.
Inputs:
i
— Indexes the top tag of an internally-simplified algebraic expression.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_constant_factors, numeric_factor_index,
push_nonnumeric_factors, push_dependent_factors,
push_independent_factors
Example:
push_pi_on_quantum (2u);
foo = top_estack;
push_quantum (8u); /* push variable x */
replace_top2_with_prod (foo); /* top-estack -> x * pi * 2 */
push_nonconstant_factors (top_estack); /* Pushes x */