pytransform3d.rotations.matrix_from_rotor#

pytransform3d.rotations.matrix_from_rotor(rotor)[source]#

Compute rotation matrix from rotor.

Parameters:
rotorarray-like, shape (4,)

Rotor: (a, b_yz, b_zx, b_xy)

Returns:
Rarray, shape (3, 3)

Rotation matrix