mindsponge.common.rots_mul_vecs
- mindsponge.common.rots_mul_vecs(m, v)[source]
Apply rotations
to vectors .- Parameters
- Returns
tuple, vectors after rotations.
- Supported Platforms:
Ascend
GPU
Examples
>>> import mindsponge >>> m = (1, 2, 3, 4, 5, 6, 7, 8, 9) >>> v = (1, 2, 3) >>> v1 = mindsponge.common.rots_mul_vecs(m, v) >>> print(v1) (14, 32, 50)