bundles / scipy latest / scipy / spatial / _kdtree / Rectangle / max_distance_rectangle
function
scipy.spatial._kdtree:Rectangle.max_distance_rectangle
source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/_kdtree.py:257
Signature
def max_distance_rectangle(self, other, p = 2.0)Summary
Compute the maximum distance between points in the two hyperrectangles.
Parameters
other: hyperrectangleInput.
p: float, optionalInput.
Returns
dist: floatMaximum distance between the two hyperrectangles.
Aliases
scipy.spatial.Rectangle.max_distance_rectangle