concepts.math.rotationlib_xyzw_torch.th_quat_conjugate#

th_quat_conjugate(quat)[source]#

Compute the conjugate of a quaternion. The quaternion is represented as a 4D vector, in the form of [x, y, z, w].

Parameters:

quat (Tensor) – the quaternion, as a 4D vector.

Returns:

the conjugate, as a 4D vector.

Return type:

Tensor