Last data update: 2014.03.03
|
R: Compute external- or 'cross'- product of 3D vectors.
Compute external- or ‘cross’- product of 3D vectors.
Description
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.
Usage
extprod3d(x, y)
Arguments
x |
n -by-3 matrix. Each row is one x-vector
|
y |
n -by-3 matrix. Each row is one y-vector
|
Value
n -by-3 matrix
Author(s)
Raoul Grasman
Results
|