Cross-计算向量叉乘。
cross Vector cross product.
C = cross(A,B) returns the cross product of the vectors
A and B. That is, C = A x B. A and B must be 3 element
vectors.
C = cross(A,B) returns the cross product of A and B along the
first dimension of length 3.
C = cross(A,B,DIM), where A and B are N-D arrays, returns the cross
product of vectors in the dimension DIM of A and B. A and B must
have the same size, and both SIZE(A,DIM) and SIZE(B,DIM) must be 3.
Class support for inputs A,B:
float: double, single