This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.spatial.Rectangle.split¶
-
Rectangle.
split
(self, d, split)[source]¶ 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
- dint
Axis to split hyperrectangle along.
- splitfloat
Position along axis d to split at.