Times_Top - 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 Arithmetic

times_top

Declaration:
void times_top (EStackIndex i )
Category(ies):
EStack Arithmetic
Description:
Replaces the top expression on the estack with the internally-simplified
product of the top times the expression indexed by i . If both operands are
conforming matrices, the matrix product rather than an element-wise
product is computed.
Inputs:
i
Outputs:
None
Assumptions:
i and top_estack index the top tags of an internally-simplified 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_product, replace_top2_with_prod, push_negate, negate_top
Example:
void push_r_cis (EStackIndex r, EStackIndex t)
/* r and t index real expressions.
Pushes r cos(t) + #i r sin(t) onto the estack.
*/
{
Access_AMS_Global_Variables;
EStackIndex k;
push_cos (t);
times_top (r);
k = top_estack;
push_sin (t);
times_top (r);
replace_top2_with_imre (k);
}
TI-89 / TI-92 Plus Developer Guide
— Index of the top tag of an internally-simplified algebraic expression,
algebraic comparison, or aggregate thereof.
Not for Distribution
513
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