Syntax
C = cross(A,B)
Arguments
- A
real, complex, polynomial or boolean matrix of size 3-by-N or 1-by-3.
- B
real, complex, polynomial or boolean matrix of same size as A.
- C
real, complex, polynomial or boolean matrix of same size as A and B.
Description
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.
Example
History
Версия | Описание |
5.5.0 | Function cross introduced. |
Report an issue | ||
<< and | Матричные операции | cumprod >> |