EasyManua.ls Logo

Texas Instruments TI-89 - Push_Dotproduct

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
690
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_dotproduct
Declaration:
void
push_dotproduct
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Lists and Matrices, Math
Description:
Computes the dot product of two vectors.
Inputs:
i, j
EStackIndexes of two vectors are represented in one of three
ways: both as lists, both as single row matrices, or both as single
column matrices.
Outputs:
Pushes the dot product of the two vectors onto the expression stack.
Assumptions:
Arguments must be in internal-tokenized form. External-tokenized form
may cause an error throw.
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
/* If i is the EStackIndex of the internal-tokenized form of {1, a, b}, and j is the
EStackIndex of the internal-tokenized form of {c, 2, 3}, then */
push_dotproduct (i, j);
/* Pushes the internal-tokenized form of 2 * a + 3 * b + c onto the expression stack.
*/

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals