scipy.spatial.transform.RigidTransform.

__rmul__#

RigidTransform.__rmul__(other)[source]#

Compose a rotation with this transform (rotation applied second).

See __mul__ for more details.

Parameters:
otherRotation instance

The rotation to compose with this transform. The shapes must be broadcastable.

Returns:
RigidTransform instance

The composed transform.

Notes

Array API Standard Support

__rmul__ has experimental support for Python Array API Standard compatible backends in addition to NumPy. Please consider testing these features by setting an environment variable SCIPY_ARRAY_API=1 and providing CuPy, PyTorch, JAX, or Dask arrays as array arguments. The following combinations of backend and device (or other capability) are supported.

Library

CPU

GPU

NumPy

n/a

CuPy

n/a

PyTorch

JAX

Dask

n/a

See Support for the array API standard for more information.