Learn R Programming

spant (version 3.3.0)

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

Description

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

Usage

crossprod_3d(x, y)

Value

vector cross product of x and y.

Arguments

x

vector of length 3.

y

vector of length 3.