Description Usage Arguments Details Value Author(s) See Also Examples

Computes the cross-product of two vectors in 3D.

1 | ```
cross(a, b)
``` |

`a,b` |
Numeric vectors of length 3. |

Computes the cross product of the two vectors.

A vector of length 3 representing the cross product. If the input vectors have length greater than 3, only the first 3 elements will be used in this calculation.

Adrian Baddeley and Tom Lawrence

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.