This is documentation for an old release of SciPy (version 0.10.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 : int
eps : non-negative float
p : float, 1 <= p <= infinity
distance_upper_bound : non-negative float
|
---|---|
Returns : | d : ndarray of floats
i : ndarray of ints
|