EasyManua.ls Logo

Texas Instruments TI-89 - Push_Constant_Terms

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
772
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_constant_terms
Declaration:
void
push_constant_terms
(EStackIndex
k
)
Category(ies):
Math
Description:
Pushes onto the estack the sum of all syntactic terms of the expression
indexed by
k
that do not contain variables.
If there are no constant terms, pushes Float0 if IS_ARITH_APPROX is
TRUE. Otherwise pushes Integer0.
Inputs:
k
Index of 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_nonconstant_terms, push_dependent_terms,
push_independent_terms, index_numeric_term,
Example:
push_quantum (PI_TAG);
add1_to_top (); /* partial sum = top_estack */
push_quantum (8u); /* push variable x */
replace_top2_with_sum (foo); /* top_estack -> x + pi + 1 */
push_constant_terms (top_estack); /* Pushes pi + 1 */

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals