{ } Raw JSON

bundles / scipy 1.17.1 / scipy / spatial / transform / _rotation / Rotation / __len__

function

scipy.spatial.transform._rotation:Rotation.__len__

source: /scipy/spatial/transform/_rotation.py :2621

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__