cross
- :
c =cross(a, b)¶ - :
c =cross(a, b, dim)¶ Vector cross product of the 3-element vectors stored along a dimension.
Without dim the first dimension of length 3 is used. Two length-3 vectors may differ in orientation; both-column inputs yield a column, otherwise a row. No complex conjugation is applied.