Push_Expand - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Math

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
ki
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);
add1_to_top ();
replace_top2_with_pow (exponent);
push_expand (top_estack, NULL_INDEX, FALSE);
TI-89 / TI-92 Plus Developer Guide
— Indexes the top tag of an internally-simplified algebraic
expression, algebraic comparison, or aggregate
thereof.
— Indexes NULL_INDEX or the top tag of an
internally-simplified variable or a kernel.
/* Push variable x */
/* top_estack -> x + 1 */
/* top_estack -> (x + 1)^2 */
/* push x^2 + 2x + 1 */
Not for Distribution
779
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents