pytransform3d.batch_rotations.batch_q_conj

pytransform3d.batch_rotations.batch_q_conj(Q)[source]

Conjugate of quaternions.

The conjugate of a unit quaternion inverts the rotation represented by this unit quaternion. The conjugate of a quaternion q is often denoted as q*.

Parameters:
Qarray-like, shape (…, 4)

Unit quaternions to represent rotations: (w, x, y, z)

Returns:
Q_carray, shape (…, 4,)

Conjugates (w, -x, -y, -z)