pytransform3d.rotations.rotor_apply

pytransform3d.rotations.rotor_apply(rotor, v)[source]

Compute rotation matrix from rotor.

v' = R v R^*

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

Examples using pytransform3d.rotations.rotor_apply