This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Query the kd-tree for nearest neighbors
Parameters : | x : array_like, last dimension self.m
k : integer
eps : non-negative float
p : float, 1<=p<=infinity
distance_upper_bound : nonnegative float
|
---|---|
Returns : | d : array of floats
i : ndarray of ints
|