which_minV {resemble} | R Documentation |
For internal use only
which_minV(X,cores)
X |
a |
cores |
number of cores used to run the computation |
Used internally to find the nearest neighbours.
It searches in lower (or upper?) trianguular matrix. Therefore this must be the format of the
input data. The piece of code int len = (sqrt(X.size()*8+1)+1)/2
generated an error in CRAN
since sqrt
cannot be applied to integers.
a vector
of the indices of the nearest neighbours
Antoine Stevens