nearest
NEAREST Graph hop-neighbours, or nearest-neighbour indices among points. N = nearest(G, S, D) nodes within hop distance D of S in graph/digraph IDX = nearest(P, Q) for each row of Q, index of nearest row of P
nearestNEAREST Graph hop-neighbours, or nearest-neighbour indices among points. N = nearest(G, S, D) nodes within hop distance D of S in graph/digraph IDX = nearest(P, Q) for each row of Q, index of nearest row of P