Description Usage Arguments Details Value Author(s) Examples
Returns the cross product of two vectors using either the right-hand or left-hand convention.
1 | cprod(u, v, h = "right")
|
u |
a vector of length 3 |
v |
a vector of length 3 |
h |
whether the right-hand, "right", or left-hand, "left", convention is to be used. The right-hand convention is default. |
The cross product vector is a vector orthogonal to the two input vectors.
the cross product vector (also of length 3)
Aaron Olsen
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.