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 / transform / _rotation / Rotation / __len__

function

scipy.spatial.transform._rotation:Rotation.__len__

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/transform/_rotation.py:2616

Signature

def __len__(self) → int

Summary

Number of rotations contained in this object.

Extended Summary

Multiple rotations can be stored in a single instance.

Returns

length : int

Number of rotations stored in object.

Raises

: TypeError if the instance was created as a single rotation.

Aliases

  • scipy.spatial.transform.Rotation.__len__