This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / spatial / _kdtree / Rectangle

class

scipy.spatial._kdtree:Rectangle

source: build-install/usr/lib/python3.14/site-packages/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 : int

Dimensionality 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