package scipy
Module Spatial.RectangleSource
Hyperrectangle class.
Represents a Cartesian product of intervals.
val max_distance_point :
?p:float ->
x:[> `Ndarray ] Np.Obj.t ->
[> tag ] Obj.t ->
Py.Object.tReturn the maximum distance between input and points in the hyperrectangle.
Parameters ---------- x : array_like Input array. p : float, optional Input.
Compute the maximum distance between points in the two hyperrectangles.
Parameters ---------- other : hyperrectangle Input. p : float, optional Input.
val min_distance_point :
?p:float ->
x:[> `Ndarray ] Np.Obj.t ->
[> tag ] Obj.t ->
Py.Object.tReturn the minimum distance between input and points in the hyperrectangle.
Parameters ---------- x : array_like Input. p : float, optional Input.
Compute the minimum distance between points in the two hyperrectangles.
Parameters ---------- other : hyperrectangle Input. p : float Input.
Produce two hyperrectangles by splitting.
In general, if you need to compute maximum and minimum distances to the children, it can be done more efficiently by updating the maximum and minimum distances to the parent.
Parameters ---------- d : int Axis to split hyperrectangle along. split : float Position along axis `d` to split at.
Total volume.
Pretty-print the object to a formatter.