Description Usage Arguments Details Value Author(s) Examples
Calculate the euclidean distance for multiple vectors
1 | eD(x, y)
|
x |
matrix with first set of vectors. |
y |
matrix with second set of vectors. |
x and y need the following structure to compare multiple vectors at once:
rows contain the k vectors
columns the n coordinates in the n-space
str(x) == matrix [1:k, 1:n]
vector with the euclidean distance for each pair
Dominik Reusser
1 | eD(1:3, 2:4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.