extprod3d | R Documentation |
Computes the external product
(x2 * y3 - x3 * y2, x3 * y1 - x1 * y3, x1 * y2 - x2 * y1)
(x2 * y3 - x3 * y2, x3 * y1 - x1 * y3, x1 * y2 - x2 * y1)
(x2 * y3 - x3 * y2, x3 * y1 - x1 * y3, x1 * y2 - x2 * y1)
of the 3D vectors in x and y.
extprod3d(x, y, drop = TRUE)
x |
|
y |
|
drop |
logical. If |
If n
is greater than 1 or drop
is
FALSE
, n
-by-3 matrix; if n
is 1 and
drop
is TRUE
, a vector of length 3.
Raoul Grasman
drop
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.