SciPy

scipy.spatial.Rectangle.max_distance_point

Rectangle.max_distance_point(x, p=2.0)[source]

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

Parameters:

x : array_like

Input array.

p : float, optional

Input.