{ } Raw JSON

bundles / scipy 1.18.0 / scipy / spatial / _kdtree / Rectangle / max_distance_rectangle

function

scipy.spatial._kdtree:Rectangle.max_distance_rectangle

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

Signature

def max_distance_rectangle(self, other, p = 2.0)

Summary

Compute the maximum distance between points in the two hyperrectangles.

Parameters

other : hyperrectangle

Input.

p : float, optional

Input.

Returns

dist : float

Maximum distance between the two hyperrectangles.

Aliases

  • scipy.spatial.Rectangle.max_distance_rectangle