dotmat | R Documentation |
Computes the dot product between a vector and a given matrix. The vector returned has a dot product similarity value for each row in the matrix.
dotmat(a, b, norm = TRUE)
a |
numeric vector |
b |
numeric matrix |
norm |
logical, compute normalised dot product, default=True |
numeric vector containing dot product scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.