Compute the Minkowski distance between two vectors.
1 | .minkowski(x, y, len, p)
|
x |
numeric, first vector |
y |
numeric, second vector |
len |
integer, length of x and y |
p |
numeric, Minkowski parameter (e.g., 2 gives Euclidean distance) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.