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 #290 background imageLoading...
Page #290 background image
248
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
index_rmng_fctrs_start_base_tag
Declaration:
EStackIndex
index_rmng_fctrs_start_base_tag
(EStackIndex
i
,
Quantum
q
)
Category(ies):
Algebra Utilities
Description:
This function can be used together with
push_but_factor
to push a
product of all but the first syntactic factor having base tag
q
in expression
i
.
Inputs:
i
Index of the top tag of an internally-simplified algebraic expression.
q
Primary tag.
Outputs:
Returns NULL_INDEX if ESTACK (
lead_base_index
(
i
)) !=
q
and
ESTACK (
lead_base_index
(
remaining_factors_index
(
i
))) !=
q
and
ESTACK (
lead_base_index
(
remaining_factors_index
(
remaining_factors_index
(
i
)))) !=
q
, etc.
Otherwise returns the shallowest
k
such that ESTACK
(
lead_base_index
(
k
)) ==
q
and (
k
=
i
or
k
=
remaining_base_index
(
i
) or
k
=
remaining_base_index
(
remaining_factors_index
(
i
)) or . . . ).
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: rmng_fctrs_start_fctr_tag, index_rmng_fctrs_start_base,
index_rmng_factor
Example:
push_quantum (10u);
push_quantum (EXP_TAG); /* exp(z) */
push_quantum_as_nonnegative_int (2u);
push_quantum (9u);
push_quantum (EXP_TAG);
push_quantum (EXPONENTIATION_TAG); /* exp(y)^2 */
push_quantum (MULTIPLY_TAG);
k = top_estack;
push_quantum (8u);
push_quantum (LN_TAG); /* ln(x) */
push_quantum (MULTIPLY_TAG);
i = top_estack; /* ln(x) * exp(y)^2 * exp(z) */
index_rmng_fctrs_start_base_tag (top_estack, EXP_TAG); /* Returns k */
index_rmng_fctrs_start_base_tag (top_estack, LN_TAG); /* Returns i */
index_rmng_fctrs_start_base_tag(top_estack,ABS_TAG); /* Returns NULL_INDEX */

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