identity#

classmethod Rotation.identity(shape: Union[int, tuple] = (1,)) Rotation[source]#

Return identity rotations.

Parameters:
shape

Shape of the rotation instance.

Returns:
r

Identity rotations.