EasyManua.ls Logo

Texas Instruments TI-89 - Push_Poly_Deg_In_Var_Or_Kernel

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...
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

Related product manuals