xprod | R Documentation |
This function calculates the cross-product of two 3d (3 element) vectors. Note that this is different from 'base::crossprod()'.
xprod(a, b)
a |
numeric vector of length 3 |
b |
numeric vector of length 3 |
numeric vector of length 3
xprod(c(0, 1, 2), c(1, 1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.