powered by
Vector Cross Product
AXB.prod(A, B)
vector, 2 or 3 elements
vector
Can be 2D or 3D vectors. If lists are input they are converted to vectors.
# NOT RUN { AXB.prod(c(1,0,0), c(0,1,0)) ### = c(0, 0 , 1) AXB.prod(c(0,1,0), c(1,0,0)) ### = c(0, 0 ,-1) # }
Run the code above in your browser using DataLab