Description Usage Arguments Value Author(s) See Also
View source: R/vectorproduct.R
Compute cross product of two 3-element vectors
1 | vectorproduct(x, y, normalize = FALSE)
|
x, y |
3-element vectors or n-by-3 matrices representing n 3-element vectors |
normalize |
logical flag; if set to TRUE the cross-product(s) is/are automatically normalized |
Returns a 3-element vector or a n-by-3 element matrix with the cross products
Danail Obreschkow
scalarproduct
, vectornorm
and unitvector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.