(function to calculate minimum and position of minimum) takes vector of size n and vector of size m and gives back list with vectors of size n (minimum distance and location of minimum in y)
1 | which_dist_min_absolute(x, y)
|
x |
a vector of type integer |
y |
a vector of type integer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.