Description Usage Arguments Value See Also Examples
Compute the dot product of two n-dimensional vectors.
1 | dotProduct(u, v)
|
u |
First vector |
v |
Second vector |
∑_{i=1}^{n} u_i v_i
1 | print(dotProduct(c(1,0,0), c(0,1,0)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.