bundles / scipy 1.18.0 / scipy / spatial / _kdtree / Rectangle
class
scipy.spatial._kdtree:Rectangle
source: /scipy/spatial/_kdtree.py:123
Signature
class Rectangle(maxes, mins)Members
Summary
Hyperrectangle class.
Extended Summary
Represents a Cartesian product of intervals.
Parameters
maxes: array_like of shape (m,)Upper bounds of the hyperrectangle along each dimension.
mins: array_like of shape (m,)Lower bounds of the hyperrectangle along each dimension.
Attributes
maxes: ndarray of shape (m,)Upper bounds for each dimension.
mins: ndarray of shape (m,)Lower bounds for each dimension.
m: intDimensionality of the hyperrectangle.
Notes
If any element of maxes is smaller than the corresponding element in mins, the values are swapped automatically.
Aliases
scipy.spatial.Rectangle