{ } Raw JSON

bundles / scipy 1.18.0 / scipy / spatial / _kdtree / Rectangle / volume

function

scipy.spatial._kdtree:Rectangle.volume

source: /scipy/spatial/_kdtree.py:158

Signature

def volume(self)

Summary

Compute the total volume of the hyperrectangle.

Returns

vol : float

Volume of the hyperrectangle.

Aliases

  • scipy.spatial.Rectangle.volume