vector3_prod | R Documentation |
Compute the vector and scalar products, also known as the cross and dot products.
cross(a, b) dot(a, b)
a, b |
Vectors to be multiplied |
The cross product of two vectors is a vector perpendicular to both inputs and with the same length as the area of a parallelogram constructed by both inputs. The dot product returns a scalar value that is the largest (and the product of the lengths) when the two input vectors are aligned, smallest when they are 180 degrees apart, and zero when they are perpendicular.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.