EasyManuals Logo

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 #330 background imageLoading...
Page #330 background image
288
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_poly_deg_in_var_or_kernel
Declaration:
void
push_poly_deg_in_var_or_kernel
(EStackIndex
i
, EStackIndex
vi
)
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the degree of the polynomial indexed by
i
in the
variable or kernel indexed by
vi
. Degree(0) is 0, not
as in some
definitions.
Inputs:
i
Index of the top tag of an internally-simplified polynomial in
vi
,
generalized to permit negative and fractional powers of
vi
.
vi
Index of the top tag of an internally-simplified variable or kernel.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is_polynomial_in_var_or_kern, is_totally_polynomial, linear_degree,
did_push_lincf, index_if_pushed_binomial_info,
index_if_pushed_qquad_info
Example:
If
i
indexes the internally-simplified expression
ln(y)^-(1/2)
(x + ln(y))^2
and
vi
indexes the internally-simplified expression
ln(y)
,
then
push_poly_deg_in_var_or_kernel
(i, vi) pushes 3/2.
push_quantum (3u);
exponent = top_estack;
push_quantum (8u); /* Push variable x */
replace_top2_with_pow (exponent); /* top_estack -> x^3 */
add1_to_top ();
poly = top_estack; /* top_estack -> x^3 + 1 */
push_quantum (8u); /* Push variable x */
push_poly_deg_in_var_or_kernel (poly, top_estack); /* Pushes tagged integer 3 */

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