R/utils.R
crossprod_3d.Rd
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)
x | vector of length 3. |
---|---|
y | vector of length 3. |
vector cross product of x and y.