Texas Instruments TI89 Developer Guide - Page 821
push_expand, Declaration, Categoryies, Description, Inputs, Outputs, Assumptions, Side Effects
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 821 highlights
Appendix A: System Routines - Math 779 push_expand Declaration: void push_expand (EStackIndex i, EStackIndex ki, Boolean use_part_frac) Category(ies): Math Description: Pushes onto the estack the internally-simplified equivalent of the expression indexed by i, expanded with respect to the variable or kernel indexed by ki, or with respect to all variables and kernels if ki is equal to NULL_INDEX. If use_part_frac is FALSE, rational expressions are not expanded beyond proper fractions. Otherwise, partial fraction expansion is also done, using factorization over the real rather than complex numbers. Inputs: i - Indexes the top tag of an internally-simplified algebraic expression, algebraic comparison, or aggregate thereof. ki - Indexes NULL_INDEX or the top tag of an internally-simplified variable or a kernel. use_part_frac - TRUE if partial fraction expression can be used. Outputs: None Assumptions: None Side Effects: None Availability: On AMS 2.02 and higher. TI-89 / TI-92 Plus Differences: None See Also: None Example: push_quantum_as_nonnegative_int (2u); exponent = top_estack; push_quantum (8u); /* Push variable x */ add1_to_top (); /* top_estack -> x + 1 */ replace_top2_with_pow (exponent); /* top_estack -> (x + 1)^2 */ push_expand (top_estack, NULL_INDEX, FALSE); /* push x^2 + 2x + 1 */ TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/821.png)