pytransform3d.rotations
.rotor_apply¶
- pytransform3d.rotations.rotor_apply(rotor, v)[source]¶
Apply rotor to vector.
- Parameters:
- rotorarray-like, shape (4,)
Rotor: (a, b_yz, b_zx, b_xy)
- varray-like, shape (3,)
Vector: (x, y, z)
- Returns:
- varray, shape (3,)
Rotated vector
See also
q_prod_vector
The same operation with a different name.