powered by
Computes the generic cross product of N-1 vectors of length N.
cross(...)x %cross% y
x %cross% y
N-1 vectors of length N.
3-d vector
N-dimensional vector orthogonal to the N-1 vectors.
cross: N-d cross product
cross
%cross%: 3-d cross product
%cross%
# NOT RUN { # canonical basis 3-d c(1,0,0) %cross% c(0,1,0) # canonical basis 4-d cross(c(1,0,0,0), c(0,1,0,0), c(0,0,0,1)) # }
Run the code above in your browser using DataLab