Texas Instruments TI89 Developer Guide - Page 511
push_ratio, replace_top2_with_ratio, push_reciprocal, top_estack
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 511 highlights
Appendix A: System Routines - EStack Arithmetic 469 divide_top Declaration: void divide_top (EStackIndex i) Category(ies): EStack Arithmetic Description: Replaces the top expression on the estack with the internally-simplified ratio of the top divided by the expression indexed by i. Inputs: i - Index to an internally-simplified algebraic expression, algebraic comparison, or aggregate thereof. Outputs: None Assumptions: i and top_estack point to the top tags of algebraic expressions, algebraic comparisons, or aggregates thereof. Side Effects: None Availability: On AMS 2.02 and higher. TI-89 / TI-92 Plus Differences: None See Also: push_ratio, replace_top2_with_ratio, push_reciprocal, replace_top_with_reciprocal Example: void push_coef_list (EStackIndex i, EStackIndex ki) /* i indexes a polynomial in kernel ki. Pushes a tail of its coefficients (including zero-coefficients), with the constant coefficient deepest. */ { Access_AMS_Global_Variables; EStackIndex j, ans; push_quantum (END_TAG); ans = top_estack; push_expression (i); i = top_estack; while (! is_independent_of (i, ki)) { push_substitute_simplify (i, ki, Integer0Index); j = top_estack; push_difference (i, j); divide_top (ki); ans = j - deleted_between (ans, i); i = top_estack; } } TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/511.png)