bundles / scipy 1.17.1 / scipy / spatial / _kdtree / Rectangle / split
function
scipy.spatial._kdtree:Rectangle.split
source: /scipy/spatial/_kdtree.py :116
Signature
def split ( self , d , split ) Summary
Produce two hyperrectangles by splitting.
Extended Summary
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: intAxis to split hyperrectangle along.
split: floatPosition along axis
dto split at.
Aliases
-
scipy.spatial.Rectangle.split