iwfm.closest_listΒΆ

Given two lists A[] and B[] of form (ID, X, Y), returns a list of len(A) with the item of B closest to each item in A.

Functions

closest_list(A, B[, verbose])

Given two lists A[] and B[] of form (ID, X, Y), return a list of len(A) with the item of B closest to each item in A.

nearest(a, B)

Item of B[points] nearest to point a.