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 / volume

function

scipy.spatial._kdtree:Rectangle.volume

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/_kdtree.py:159

Signature

def volume(self)

Summary

Compute the total volume of the hyperrectangle.

Returns

vol : float

Volume of the hyperrectangle.

Aliases

  • scipy.spatial.Rectangle.volume