This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / spatial / _kdtree / Rectangle / min_distance_point

function

scipy.spatial._kdtree:Rectangle.min_distance_point

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/_kdtree.py:198

Signature

def min_distance_point(self, x, p = 2.0)

Summary

Return the minimum distance between input and points in the hyperrectangle.

Parameters

x : array_like

Input.

p : float, optional

Input.

Returns

dist : ndarray

Minimum distance.

Aliases

  • scipy.spatial.Rectangle.min_distance_point