Page 9-12
Examples of cross products of one 3-D vector with one 2-D vector, or vice
versa, are presented next:
Attempts to calculate a cross product of vectors of length other than 2 or 3,
produce an error message (Invalid Dimension), e.g., CROSS(v3,A), etc.
Decomposing a vector
Function V
is used to decompose a vector into its elements or components.
If used in the ALG mode, V
will provide the elements of the vector in a list,
e.g.,
In the RPN mode, application of function V
will list the components of a
vector in the stack, e.g., V
(A) will produce the following output in the RPN
stack (vector A is listed in stack level 6:).
Building a two-dimensional vector
Function
V2 is used in the RPN mode to build a vector with the values in
stack levels 1: and 2:. The following screen shots show the stack before and
after applying function
V2: