::hwat::math::VectorCrossProduct - Finds the cross product of two vectors.
::hwat::math::VectorCrossProduct {vector1} {vector2}
vector1 |
Tcl list of components for vector1. |
vector2 |
Tcl list of components for vector2. |
Returns the cross product if successful, "{}" otherwise.
HWAT::MATH::VectorCrossProduct [list 1.0 7.5 3.0] [list 2.0 3.78 5.69]
This is an N-dimensional operation. Both lists must be the same length and the return list will also be the same length as the input lists.