Compute the vector cross product between vectors x and y. Adapted from http://stackoverflow.com/questions/15162741/what-is-rs-crossproduct-function

crossprod_3d(x, y)

Arguments

x

vector of length 3.

y

vector of length 3.

Value

vector cross product of x and y.