cross | R Documentation |
Computes the cross product of n-1 vectors of length n.
cross(...) x %cross% y
... |
n-1 vectors of length n. |
x |
|
y |
|
n-dimensional vector orthogonal to the n-1 vectors.
x %cross% y
: binary operator for 3-dimensional cross products.
Guidotti E (2022). "calculus: High-Dimensional Numerical and Symbolic Calculus in R." Journal of Statistical Software, 104(5), 1-37. doi: 10.18637/jss.v104.i05
### canonical basis 4-d cross(c(1,0,0,0), c(0,1,0,0), c(0,0,0,1)) ### canonical basis 3-d cross(c(1,0,0), c(0,1,0)) ### symbolic cross product 3-d c(1,0,0) %cross% c(0,1,0) ### symbolic cross product 3-d c("a","b","c") %cross% c(0,0,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.