computeDistanceFromPointToSetOfPoints(a, B, dist.fun = computeEuclideanDistance)numeric(1)]
Point given as a numeric vector.matrix]
Point set (each row corresponds to a point).matrix]
Distance function to compute distance between points x and y. Expects a single
numeric vector d with the coordinate-wise differences di = (xi - yi).
Default is computeEuclideanDist.numeric(1)]