Deleted_Expression - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — EStack Utilities

deleted_expression

Declaration:
EStackDisplacement deleted_expression (EStackIndex i )
Category(ies):
EStack Utilities
Description:
Deletes the estack expression indexed by i . Global top_estack is reduced
by the number of deleted quantums. Returns the number of deleted
quantums.
Inputs:
i
Outputs:
Number of deleted quantums.
Assumptions:
None
Side Effects:
top_estack is reduced by the number of deleted quantums.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
deleted_between, delete_between, delete_expression,
move_between_to_top, moved_between_to_top
Example:
EStackIndex push_cofactors (EStackIndex i, EStackIndex j)
/* i and j index internally-simplified algebraic expressions.
Let gcd denote their greatest common divisor.
Pushes onto the estack (expression j)/gcd then (expression i)/gcd,
then returns the index of the deeper pushed cofactor.
*/
{
i = push_gcd_then_cofactors (i, j, &j);
return j – deleted_expression (i);
}
TI-89 / TI-92 Plus Developer Guide
— Index of the top (highest address) tag of an estack expression.
Not for Distribution
521
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