688
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_dot_mult
Declaration:
void
push_dot_mult
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Lists and Matrices, Math
Description:
Pushes the element by element product of two internal tokenized
arguments onto the estack.
Inputs:
i
— EStackIndex of the first internal tokenized argument.
j
— EStackIndex of the second internal tokenized argument.
Outputs:
Pushes the internal tokenized element by element product 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_div, 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_mult (m, n);
pushes the list {a * 3, 6, 0} onto the estack such that
top_estack
points to the bolded tag as
follows.
END_TAG 0 NONNEGATIVE_INTEGER_TAG 6 1 NONNEGATIVE_INTEGER_TAG 3 1
NONNEGATIVE_INTEGER_TAG A_VAR_TAG MULTIPLY_TAG
LIST_TAG