vector cross product
C = cross(A,B)
real, complex, polynomial or boolean matrix of size 3-by-N or 1-by-3.
real, complex, polynomial or boolean matrix of same size as A.
real, complex, polynomial or boolean matrix of same size as A and B.
cross
returns the cross product of A
and B
, that is:
C = A ∧ B
A
and B
can be full or sparse matrix. However, rational matrix are not supported.
Concerning boolean matrix, cross
computes as if %t (resp. %f) was 1 (resp. 0), and '&' (resp. '|')
was '*' (resp. '+').
To finish, if A
and B
are 3-by-N matrix, column-wise computations are done.
Version | Description |
5.5.0 | Function cross introduced. |