284
push_nonconstant_terms
Declaration:
void push_nonconstant_terms (EStackIndex i )
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the sum of all syntactic terms of the expression
indexed by i that include variables. If there are no nonconstant terms,
pushes Float0 if IS_ARITH_APPROX is true and Integer0 if
IS_ARITH_APPROX is false.
Inputs:
i
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_terms, push_dependent_terms,
push_independent_terms, index_numeric_term,
Example:
push_quantum (PI_TAG);
add1_to_top ();
push_quantum (8u);
replace_top2_with_sum (foo);
push_nonconstant_terms (top_estack);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Algebra Utilities
— Indexes the top tag of an internally-simplified algebraic expression.
/* partial sum = top_estack */
/* push variable x */
/* top-estack -> x + pi + 1 */
/* Pushes x */
Not for Distribution
Beta Version January 26, 2001