Push_Cross_Product - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Lists and Matrices

push_cross_product

Declaration:
void push_cross_product (EStackIndex i , EStackIndex j )
Category(ies):
Lists and Matrices, Math
Description:
Computes the cross product of two vectors.
Inputs:
i, j — EStackIndexes of two vectors represented in one of three ways:
Outputs:
Pushes onto the expression stack the cross product in the same form as
the input. List input generates list output. Row matrix input generates row
matrix output. Column matrix input generates column matrix output.
Assumptions:
Arguments must be in internal-tokenized form. External-tokenized form
may cause an error throw.
May expand expression stack, cause heap compression, or throw an error.
Side Effects:
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_cross_product (i, j);
/* pushes the internal-tokenized form of {3*a-2*b, b*c-3, 2-a*c} onto the
expression stack. */
TI-89 / TI-92 Plus Developer Guide
both as lists, both as single row matrices, or both as single column
matrices. Each must have either two elements or three elements.
Not for Distribution
681
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