Cross product of three-dimensional vectors
This functionality does not run in MATLAB.
linalg::crossProduct(u, v) computes the
cross product of the three-dimensional vectors
. This is the
The vectors must be defined over the same component ring.
We define two vectors:
a := matrix([[1, 2, 3]]); b := matrix([[-1, 0, 1]])
The cross product of these two vectors is a vector which is orthogonal to and :
c:= linalg::crossProduct(a, b)
linalg::scalarProduct(a, c), linalg::scalarProduct(b, c)
3-dimensional vectors, i.e., either two 3
×1 or two 1
×3 matrices of a domain of category
Vector of the same domain type as