EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #331 background imageLoading...
Page #331 background image
Appendix A: System Routines — Algebra Utilities
289
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_subst_no_simp
Declaration:
void
push_subst_no_simp
(EStackIndex
i
, EStackIndex
j
,
EStackIndex
k
)
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack without further simplification a copy of the
expression indexed by
i
in which subexpressions that are identical to the
expression indexed by
j
are replaced by the expression indexed by
k
.
Inputs:
i, j, k
Indices the top tags of expressions.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_substitute_simplify
Example:
push_quantum (9u);
k = top_estack; /* k -> variable y */
push_quantum (8u);
j = top_estack; /* j -> variable x */
push_quantum_as_nonnegative_int(2u);
exponent = top_estack;
raise_to_top (j);
power = top_estack; /* x^2 */
push_quantum_as_nonnegative_int(2u);
exponent = top_estack;
raise_to_top (k); /* y^2 */
replace_top2_with_difference (power); /* top_estack -> x^2 - y^2 */
push_subst_no_simp (top_estack, j, k); /* Pushes y^2 - y^2 */

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals