Description Usage Arguments Value Examples
Computes the inner product between x and y.
1 | inner.product(x, y)
|
x |
A vector of numbers. |
y |
A vector of numbers. |
The inner product similarity between x and y.
1 2 3 4 5 | set.seed(2)
n = 100
x = rnorm(n)
y = rnorm(n)
inner.product(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.