{ } Raw JSON

bundles / scipy 1.18.0 / scipy / spatial / _kdtree / Rectangle / max_distance_point

function

scipy.spatial._kdtree:Rectangle.max_distance_point

source: /scipy/spatial/_kdtree.py:217

Signature

def max_distance_point(self, x, p = 2.0)

Summary

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

Parameters

x : array_like

Input array.

p : float, optional

Input.

Returns

dist : ndarray

Maximum distance.

Aliases

  • scipy.spatial.Rectangle.max_distance_point