scipy.spatial.Rectangle.

volume#

Rectangle.volume()[source]#

Compute the total volume of the hyperrectangle.

Returns:
volfloat

Volume of the hyperrectangle.