Texas Instruments TI89 Developer Guide - Page 729
Positive_fraction_tag A_var_tag Multiply_tag
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 729 highlights
Appendix A: System Routines - Lists and Matrices 687 push_dot_div Declaration: void push_dot_div (EStackIndex i, EStackIndex j) Category(ies): Lists and Matrices, Math Description: Pushes the element by element ratio of two internal tokenized arguments onto the estack. Inputs: i - EStackIndex of the internal tokenized numerator. j - EStackIndex of the internal tokenized denominator. Outputs: Pushes the internal tokenized element by element ratio of the two arguments onto the estack. Assumptions: The arguments must have the same dimensions. They must be the same length lists, or the same size matrices, or both be scalars. Side Effects: May cause estack expansion, heap compression, or throw an error if the arguments are invalid. Availability: On AMS 2.00 and higher. TI-89 / TI-92 Plus Differences: None See Also: push_dot_add, push_dot_mult, push_dot_sub Example: If m indexes the bolded tag in the list {a, 2, 0} as follows END_TAG 0 NONNEGATIVE_INTEGER_TAG 2 1 NONNEGATIVE_INTEGER_TAG A_VAR_TAG LIST_TAG and n indexes the bolded tag in the list {3, 3, 3} as follows END_TAG 3 1 NONNEGATIVE_INTEGER_TAG 3 1 NONNEGATIVE_INTEGER_TAG 3 1 NONNEGATIVE_INTEGER_TAG LIST_TAG then push_dot_div (m, n); pushes the list {a * 1/3, 2/3, 0} onto the estack such that top_estack points to the bolded tag as follows. END_TAG 0 NONNEGATIVE_INTEGER_TAG 3 1 2 1 POSITIVE_FRACTION_TAG 3 1 1 1 POSITIVE_FRACTION_TAG A_VAR_TAG MULTIPLY_TAG LIST_TAG TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001