Last chance! 50% off unlimited learning
Sale ends in
cross(x, y)
x
and <
are vectors, a matrix of
3-dim. vectors if x
and y
are matrices themselves. The more general cross product of n-1
vectors in n-dimensional
space is realized as crossn
.
dot
, crossn
cross(c(1, 2, 3), c(4, 5, 6)) # -3 6 -3
Run the code above in your browser using DataLab