mindsponge.common.rots_mul_rots
- mindsponge.common.rots_mul_rots(x, y)[source]
Get result of rotation matrix x multiply rotation matrix y.
- Parameters
- Returns
tuple, the result of rots x multiplying rots y. Shape is
.
- Supported Platforms:
Ascend
GPU
Examples
>>> from mindsponge.common.geometry import rots_mul_rots >>> rtos_0 = (1, 1, 1, 1, 1, 1, 1) >>> rtos_1 = (1, 1, 1, 1, 1, 1, 1) >>> result = rots_mul_rots(rots_0, rots_1) >>> print(output) (3, 3, 3, 3, 3, 3, 3, 3, 3)